Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Fix entity not being included in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
SquidDev committed May 14, 2019
1 parent dd95095 commit a9b667e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/squiddev/plethora/core/PlethoraCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ public static void onEntitySpawn(EntityJoinWorldEvent event) {
event.setCanceled(true);
event.getWorld().playerEntities.remove(entity);

LOG.error("Attempted to spawn PlethoraFakePlayer ({}). This should NEVER happen.", new IllegalStateException("Stacktrace as follows:"));
LOG.error("Attempted to spawn PlethoraFakePlayer ({}). This should NEVER happen.", entity, new IllegalStateException("Stacktrace as follows:"));
}
}

0 comments on commit a9b667e

Please sign in to comment.