From f0e64d992b5aa5ff5e13000ba62ba6277e2db4b8 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 13 May 2019 08:45:00 -0700 Subject: [PATCH] Remove unecessary check --- src/main/java/com/gmail/nossr50/listeners/WorldListener.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/WorldListener.java b/src/main/java/com/gmail/nossr50/listeners/WorldListener.java index e88112dc4..2ae1a0769 100644 --- a/src/main/java/com/gmail/nossr50/listeners/WorldListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/WorldListener.java @@ -91,7 +91,6 @@ public class WorldListener implements Listener { Chunk chunk = event.getChunk(); - if(chunk != null) - mcMMO.getPlaceStore().chunkUnloaded(chunk.getX(), chunk.getZ(), event.getWorld()); + mcMMO.getPlaceStore().chunkUnloaded(chunk.getX(), chunk.getZ(), event.getWorld()); } }