chore: Format our loggers properly

This commit is contained in:
NotMyFault
2021-12-29 17:13:20 +01:00
parent e2a1721a5c
commit 19de815ab4
8 changed files with 16 additions and 16 deletions

View File

@ -377,8 +377,8 @@ public abstract class ChunkListener implements Listener {
if (Math.abs(velocity.getX()) > vertical
|| Math.abs(velocity.getZ()) > vertical) {
LOGGER.warn(
"[FAWE `tick-limiter`] Detected and cancelled rogue FireWork at "
+ ent.getLocation());
"[FAWE `tick-limiter`] Detected and cancelled rogue FireWork at {}",
ent.getLocation());
ent.remove();
}
}
@ -408,7 +408,7 @@ public abstract class ChunkListener implements Listener {
if (rateLimit <= 0) {
rateLimit = 20;
LOGGER.warn(
"[FAWE `tick-limiter`] Detected and cancelled item lag source at " + loc);
"[FAWE `tick-limiter`] Detected and cancelled item lag source at {}", loc);
}
event.setCancelled(true);
}