From da372e3fb7d16cc0053916ed693d9e0a4145efdd Mon Sep 17 00:00:00 2001 From: HypherionMC Date: Sun, 25 Jun 2023 21:51:39 +0200 Subject: [PATCH] Fix event handlers not logging full errors --- .../com/hypherionmc/craterlib/core/event/CraterEventBus.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/src/main/java/com/hypherionmc/craterlib/core/event/CraterEventBus.java b/Common/src/main/java/com/hypherionmc/craterlib/core/event/CraterEventBus.java index f2399b9..1ead324 100644 --- a/Common/src/main/java/com/hypherionmc/craterlib/core/event/CraterEventBus.java +++ b/Common/src/main/java/com/hypherionmc/craterlib/core/event/CraterEventBus.java @@ -42,7 +42,7 @@ public final class CraterEventBus { try { m.method.invoke(m.parentObject, event); } catch (Exception e) { - throw new RuntimeException(); + throw new RuntimeException(e); } };