mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 21:17:32 +00:00
Fixed null error with the quest tracker.
This commit is contained in:
1 parent
e71ea4f495
commit
9928482c53
1 file changed
+1
-1
@@ -290,7 +290,7 @@ public class NoppesUtilPlayer {
|
||||
}
|
||||
public static void sendTrackedQuestData(EntityPlayerMP player, Quest trackedQuest) {
|
||||
Quest quest = (Quest) PlayerDataController.instance.getPlayerData(player).questData.trackedQuest;
|
||||
if (quest.id != trackedQuest.id) {
|
||||
if (quest == null || trackedQuest == null || quest.id != trackedQuest.id) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user