mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2024-12-28 02:24:33 +00:00
make this build before pushing gg
This commit is contained in:
parent
e4ab4ac8e3
commit
070c57186b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class PlayerListener extends PlexListener
|
||||||
final Player player = event.getPlayer();
|
final Player player = event.getPlayer();
|
||||||
// PlexLog.debug("Slime World Loaded: {0}", TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()));
|
// PlexLog.debug("Slime World Loaded: {0}", TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()));
|
||||||
// PlexLog.debug("World Loaded: {0}", Bukkit.getWorld(player.getUniqueId().toString()) != null);
|
// 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);
|
Bukkit.unloadWorld(player.getUniqueId().toString(), true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue