Skip to content
Snippets Groups Projects
Commit 346d2c19 authored by malyelfik's avatar malyelfik
Browse files

BETA: Fixing NPE in '''Hall of Suffering''' instance

Reported by: valdaron
parent 9a24d7bc
No related branches found
No related tags found
No related merge requests found
...@@ -591,8 +591,11 @@ public class HallOfSuffering extends Quest ...@@ -591,8 +591,11 @@ public class HallOfSuffering extends Quest
for(L2PcInstance pl : player.getParty().getMembers()) for(L2PcInstance pl : player.getParty().getMembers())
{ {
st = pl.getQuestState(qn); st = pl.getQuestState(qn);
st.giveItems(736, 1); if (st != null)
st.giveItems(((HSWorld)world).rewardItemId, 1); {
st.giveItems(736, 1);
st.giveItems(((HSWorld)world).rewardItemId, 1);
}
} }
return ""; return "";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment