diff --git a/src/main/java/StevenDimDoors/mod_pocketDim/EventHookContainer.java b/src/main/java/StevenDimDoors/mod_pocketDim/EventHookContainer.java index 7827bd36..8f6c4a3e 100644 --- a/src/main/java/StevenDimDoors/mod_pocketDim/EventHookContainer.java +++ b/src/main/java/StevenDimDoors/mod_pocketDim/EventHookContainer.java @@ -208,7 +208,7 @@ public class EventHookContainer { PocketManager.save(); - if (mod_pocketDim.deathTracker.isModified()) + if (mod_pocketDim.deathTracker != null && mod_pocketDim.deathTracker.isModified()) { mod_pocketDim.deathTracker.writeToFile(); }