mirror of
https://github.com/PEXPlugins/Modifyworld.git
synced 2025-01-22 21:11:29 +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 {
|
try {
|
||||||
eventHandlerMethod.invoke(listener, event);
|
eventHandlerMethod.invoke(listener, event);
|
||||||
} catch (Exception e) {
|
} 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();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user