From 070c57186bcaa5128d2dc2b473d2c7ccaae3aa15 Mon Sep 17 00:00:00 2001 From: Taah Date: Mon, 6 May 2024 12:33:40 -0700 Subject: [PATCH] make this build before pushing gg --- src/main/java/dev/plex/extras/listener/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/plex/extras/listener/PlayerListener.java b/src/main/java/dev/plex/extras/listener/PlayerListener.java index 8ce7ab4..08a0e53 100755 --- a/src/main/java/dev/plex/extras/listener/PlayerListener.java +++ b/src/main/java/dev/plex/extras/listener/PlayerListener.java @@ -45,7 +45,7 @@ public class PlayerListener extends PlexListener final Player player = event.getPlayer(); // PlexLog.debug("Slime World Loaded: {0}", TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString())); // PlexLog.debug("World Loaded: {0}", Bukkit.getWorld(player.getUniqueId().toString()) != null); - if (TFMExtras.getModule().swmEnabled() && TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()) && Bukkit.getWorld(player.getUniqueId().toString()) != null) + if (TFMExtras.getModule().enableIslands() && TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()) && Bukkit.getWorld(player.getUniqueId().toString()) != null) { Bukkit.unloadWorld(player.getUniqueId().toString(), true); }