Fixed quest To Lead and Be Led (118).

This commit is contained in:
MobiusDevelopment 2021-12-16 06:26:27 +00:00
parent c4a63db70f
commit 88fe788c99

View File

@ -117,7 +117,7 @@ public class Q118_ToLeadAndBeLed extends Quest
final Player academic = getApprentice(player); final Player academic = getApprentice(player);
if (academic != null) if (academic != null)
{ {
final QuestState st2 = academic.getQuestState(Q123_TheLeaderAndTheFollower.class.getSimpleName()); final QuestState st2 = academic.getQuestState(getName());
if ((st2 != null) && (st2.getInt("state") == 2)) if ((st2 != null) && (st2.getInt("state") == 2))
{ {
final int stateEx = st2.getInt("stateEx"); final int stateEx = st2.getInt("stateEx");
@ -241,7 +241,7 @@ public class Q118_ToLeadAndBeLed extends Quest
} }
else else
{ {
if (!getSponsor(player)) if (getSponsor(player))
{ {
if (stateEx == 1) if (stateEx == 1)
{ {