9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2026-01-06 15:41:56 +00:00

refactor: remove redundant toString on debug

This commit is contained in:
William
2024-04-07 12:35:45 +01:00
parent 7f75b9a917
commit e19477aada

View File

@@ -77,7 +77,7 @@ public class BukkitEventListener extends EventListener implements BukkitJoinEven
if (!bukkitUser.isLocked() && !itemOnCursor.getType().isAir()) {
player.setItemOnCursor(null);
player.getWorld().dropItem(player.getLocation(), itemOnCursor);
plugin.debug("Dropped " + itemOnCursor.toString() + " for " + player.getName() + " on quit");
plugin.debug("Dropped " + itemOnCursor + " for " + player.getName() + " on quit");
}
super.handlePlayerQuit(bukkitUser);
}