Fix layout of error message when listeners throw an exception
This stops log entries being very wide.
@@ -388,13 +388,15 @@ public boolean post(Event event, List<RegisteredListener<?>> listeners, boolean
new PrettyPrinter(60).add("%s %s", "Could not pass ", event.getClass().getSimpleName()).centre().hr()
.add("Could not pass the event %s to an Event Listener!", event.getClass().getSimpleName())
.add()
- .add("Since the event can be modified during the event's listener,\n"
- + " there could be adverse side effects of the exception occuring\n"
- + "such that duplications or other game breaking issues could exist.\n"
- + "Due to the nature of the exception, this is not likely an exception\n"
- + "that is covered by SpongeForge or Forge itself, and therefor should\n"
- + "be reported to the mod/plugin author first prior to reporting to\n"
- + "Sponge or Forge.")
+ .add("Since the event can be modified during the event's listener,")
+ .add("there could be adverse side effects of the exception occurring")
+ .add("such that duplications or other game breaking issues could exist.")
+ .add()
+ .add("Due to the nature of the exception, this is not likely an exception")
+ .add("that is covered by SpongeForge or Forge itself, and therefore should")
+ .add("be reported to the mod/plugin author first prior to reporting to")
+ .add("Sponge or Forge.")
+ .add()
.add("%s: %s", "Owning Mod/Plugin", listener.getPlugin().getId())
.add("Exception:")
.add(e)
