Logging clean-up

Small commit towards improving the file log system.
This commit is contained in:
ronancpl
2017-05-19 20:07:33 -03:00
parent 36c3b7dea8
commit cb49edc3cd
7 changed files with 20 additions and 13 deletions

View File

@@ -110,7 +110,7 @@ public final class TakeDamageHandler extends AbstractMaplePacketHandler {
}
} catch(ClassCastException e) {
e.printStackTrace();
FilePrinter.print(FilePrinter.EXCEPTION_CAUGHT, "Attacker is not a mob-type, rather is a " + map.getMapObject(oid).getClass().getName() + " entity.");
FilePrinter.printError(FilePrinter.EXCEPTION_CAUGHT, "Attacker is not a mob-type, rather is a " + map.getMapObject(oid).getClass().getName() + " entity.");
}
direction = slea.readByte();