
[1.12.2] Crash when FeatherHelper.(decrease/increase)Feathers called on dedicated server
TwilightFlower opened this issue ยท 0 comments
This calls Utils.showDodgeBar() even on dedicated server, which causes classloading of DodgeGui. This results in a crash. Relevant portion of the log:
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/EntityPlayerSP for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62) ~[forgeSrc-1.12.2-14.23.5.2847.jar:?]
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256) ~[forgeSrc-1.12.2-14.23.5.2847.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_352]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_352]
at com.elenai.elenaidodge2.util.Utils.showDodgeBar(Utils.java:207) ~[Utils.class:?]
at com.elenai.elenaidodge2.api.FeathersHelper.decreaseFeathers(FeathersHelper.java:92) ~[FeathersHelper.class:?]