mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2024-12-22 09:17:37 +00:00
Change logging to debug for slimeworld on quit event
This commit is contained in:
parent
fd0b2ed76a
commit
fb724fb104
@ -44,8 +44,8 @@ public class PlayerListener extends PlexListener
|
||||
public void unloadWorld(PlayerQuitEvent event)
|
||||
{
|
||||
final Player player = event.getPlayer();
|
||||
PlexLog.log("{0}", TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()));
|
||||
PlexLog.log("{0}", Bukkit.getWorld(player.getUniqueId().toString()) != null);
|
||||
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().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()) && Bukkit.getWorld(player.getUniqueId().toString()) != null)
|
||||
{
|
||||
Bukkit.unloadWorld(player.getUniqueId().toString(), true);
|
||||
|
Loading…
Reference in New Issue
Block a user