Added Event type name to exception handler

This commit is contained in:
t3hk0d3 2011-07-17 22:23:54 +04:00
parent 49a5ee40c7
commit eca2c8d8eb

View File

@ -132,7 +132,7 @@ public class ModifyworldListener implements Listener {
try {
eventHandlerMethod.invoke(listener, event);
} catch (Exception e) {
Logger.getLogger("Minecraft").warning("[Modifyworld] Failed to execute Modifyworld event handler");
Logger.getLogger("Minecraft").warning("[Modifyworld] Failed to execute Modifyworld event handler for Event." + event.getEventName());
e.printStackTrace();
}
}