Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.12.2] Crash when FeatherHelper.(decrease/increase)Feathers called on dedicated server #83

Open
TwilightFlower opened this issue Apr 7, 2023 · 0 comments

Comments

@TwilightFlower
Copy link

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:?]
@TwilightFlower TwilightFlower changed the title [1.12.2] Crash when FeatherHealper.(decrease/increase)Feathers called on dedicated server [1.12.2] Crash when FeatherHelper.(decrease/increase)Feathers called on dedicated server Apr 7, 2023
ACGaming referenced this issue in ACGaming/UniversalTweaks Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant