diff --git a/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/OtherModHandler.java b/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/OtherModHandler.java index 0ffdf21..d0e6396 100644 --- a/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/OtherModHandler.java +++ b/src/main/java/com/burnedkirby/TurnBasedMinecraft/common/OtherModHandler.java @@ -73,6 +73,8 @@ public class OtherModHandler { TurnBasedMinecraftMod.logger.warn("Failed to invoke NpcAPI.events(), InvocationTargetException!"); } catch (IllegalAccessException e) { TurnBasedMinecraftMod.logger.warn("Failed to invoke NpcAPI.events(), IllegalAccessException!"); + } catch (ClassCastException e) { + TurnBasedMinecraftMod.logger.warn("Failed to cast NpcAPI.events(), ClassCastException!"); } if (customNPCsEventBus == null) { break;