Stop logging with System.out.println, start using slf4j

This commit is contained in:
P0nk
2022-02-10 21:31:33 +01:00
parent c879e36a9c
commit 2bbfd46105
37 changed files with 227 additions and 160 deletions

View File

@@ -182,7 +182,7 @@ public class Trade {
throw new RuntimeException("Trade is locked.");
}
if (meso < 0) {
System.out.println("[Hack] " + chr.getName() + " Trying to trade < 0 mesos");
log.warn("[Hack] Chr {} is trying to trade negative mesos", chr.getName());
return;
}
if (chr.getMeso() >= meso) {