Prefix all log messages

This commit is contained in:
Alexander Söderberg
2020-07-13 23:04:27 +02:00
parent d648a6d3db
commit 6664d49928
31 changed files with 247 additions and 248 deletions

View File

@ -388,7 +388,7 @@ public final class ReplicatingEntityWrapper extends EntityWrapper {
try {
entity.getInventory().setContents(this.inventory);
} catch (IllegalArgumentException e) {
logger.error("Failed to restore inventory", e);
logger.error("[P2] Failed to restore inventory", e);
}
}
@ -732,7 +732,7 @@ public final class ReplicatingEntityWrapper extends EntityWrapper {
return entity;
default:
if (Settings.DEBUG) {
logger.info("Could not identify entity: {}", entity.getType());
logger.info("[P2] Could not identify entity: {}", entity.getType());
}
return entity;
// END LIVING