Remove unnecessary logging in resetWorldBorder method

Removed a debug log statement in the resetWorldBorder method as it was redundant. This improves code cleanliness and avoids excessive log clutter during game phase transitions.
This commit is contained in:
Teriuihi 2025-02-08 21:06:22 +01:00
parent 72dc1af903
commit a52efb9dbb

View File

@ -44,7 +44,6 @@ public class TeamPlayer {
public void resetWorldBorder(Player player, WorldBorderApi worldBorderApi, GamePhase gamePhase, Location worldBorderCenter) {
double worldBorderSize = gamePhase.getWorldBorderSize();
log.info("Resetting world border to {} for {}", worldBorderSize, player.getName());
if (worldBorderSize <= 0) {
worldBorderApi.resetWorldBorderToGlobal(player);
return;