[ci skip] Remove debug statements

This commit is contained in:
William committed 2023-06-16 17:42:04 +01:00
1 parent fc8d3b0098
commit 24ebe6b26d
2 files changed
+1 -2

No files matched your search

@@ -126,7 +126,7 @@ public class BukkitUser extends OnlineUser {
}
player.teleport(bukkitLocation, PlayerTeleportEvent.TeleportCause.PLUGIN);
},
() -> plugin.getLogger().log(Level.WARNING, "User offline when teleporting: " + player.getName())
() -> plugin.log(Level.WARNING, "User offline when teleporting: " + player.getName())
);
}
@@ -126,7 +126,6 @@ public interface TransactionResolver {
}));
final long configCooldown = getPlugin().getSettings().getCooldown(action);
getPlugin().log(Level.INFO, "Setting cooldown for " + player.getUsername() + " to " + configCooldown + " seconds");
if (configCooldown > 0 && !player.hasPermission(Action.BYPASS_COOLDOWNS_PERMISSION)) {
getPlugin().getDatabase().setCooldown(action, player, Instant.now().plusSeconds(configCooldown));
}