mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2025-01-22 23:41:21 +01:00
Change "Teleport cause" debug log message to remove WARNING status, as that was unnecessarily worrying some people who had debug output enabled
This commit is contained in:
parent
119640ecc6
commit
97aca7a5bb
@ -19,7 +19,7 @@ public class WBListener implements Listener
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (Config.Debug())
|
if (Config.Debug())
|
||||||
Config.LogWarn("Teleport cause: "+event.getCause().toString());
|
Config.Log("Teleport cause: "+event.getCause().toString());
|
||||||
|
|
||||||
Location newLoc = BorderCheckTask.checkPlayer(event.getPlayer(), event.getTo(), true, true);
|
Location newLoc = BorderCheckTask.checkPlayer(event.getPlayer(), event.getTo(), true, true);
|
||||||
if (newLoc != null)
|
if (newLoc != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user