mirror of
https://github.com/plexusorg/Module-TFMExtras.git
synced 2024-12-29 11:03:52 +00:00
Change logging to debug for slimeworld on quit event
This commit is contained in:
parent
fd0b2ed76a
commit
fb724fb104
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ public class PlayerListener extends PlexListener
|
||||||
public void unloadWorld(PlayerQuitEvent event)
|
public void unloadWorld(PlayerQuitEvent event)
|
||||||
{
|
{
|
||||||
final Player player = event.getPlayer();
|
final Player player = event.getPlayer();
|
||||||
PlexLog.log("{0}", TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()));
|
PlexLog.debug("Slime World Loaded: {0}", TFMExtras.getModule().getSlimeWorldHook().isWorldLoaded(player.getUniqueId().toString()));
|
||||||
PlexLog.log("{0}", Bukkit.getWorld(player.getUniqueId().toString()) != null);
|
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)
|
if (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