mirror of
https://github.com/PEXPlugins/Modifyworld.git
synced 2025-01-06 18:47:53 +01:00
Added Event type name to exception handler
This commit is contained in:
parent
49a5ee40c7
commit
eca2c8d8eb
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user