Various quest QuestState NPE checks.

This commit is contained in:
MobiusDevelopment
2024-12-07 21:38:15 +02:00
parent f0c5c62ba7
commit 8ed5655d5a
46 changed files with 46 additions and 46 deletions

View File

@@ -451,7 +451,7 @@ public class Q00511_AwlUnderFoot extends Quest
private void rewardPlayer(Player player)
{
final QuestState qs = getQuestState(player, false);
if (qs.isCond(1))
if ((qs != null) && qs.isCond(1))
{
giveItems(player, DL_MARK, 140);
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);