Game crashes if all effects are disabled
Kanawanagasaki opened this issue ยท 0 comments
Looking at crash report we see recursive calls:
---- Minecraft Crash Report ----
// You're mean.
Time: 2022-11-07 11:16:46
Description: Exception in server tick loop
java.lang.StackOverflowError: Exception in server tick loop
at me.juancarloscp52.entropy.events.db.TntEvent.<init>(TntEvent.java:26)
at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:129)
at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:132)
at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:132)
....
at me.juancarloscp52.entropy.events.EventRegistry.getRandomDifferentEvent(EventRegistry.java:132)