mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 22:16:34 +00:00
[ci skip] Remove debug statements
This commit is contained in:
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);
|
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);
|
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)) {
|
if (configCooldown > 0 && !player.hasPermission(Action.BYPASS_COOLDOWNS_PERMISSION)) {
|
||||||
getPlugin().getDatabase().setCooldown(action, player, Instant.now().plusSeconds(configCooldown));
|
getPlugin().getDatabase().setCooldown(action, player, Instant.now().plusSeconds(configCooldown));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user