Crash loading on Server
timmyow opened this issue ยท 5 comments
Server crashes on load with this crash when FEI is in the instance.
JEI 1.9-3.3.3.197
Excore 1.5.3-1.9
ForeverEnoughItems-1.0.8-1.9
Thanks for the report. It's partially known for a week already, but i still can't figure out what's exactly causing it.
Looks like the issue might be this line - https://github.com/elix-x/Forever-Enough-Items/blob/master/1.9/src/main/java/code/elix_x/mods/fei/utils/BinFEIUtil.java#L20
the code "thePlayer" is calling the singleplayer version of the player rather then multiplayer which is needed on servers obviously.
No. In java class is loaded when it:
-Is defined as field of class that is being loaded.
-Is required in currently executed method.
So unless onSelect is executed, class will not be loaded (but it would try to load Minecraft first and fail anyways).
I know how java works, have written mods myself ๐
But the reason this wont work is because the server is trying to use a Client only class meaning its going to always crash.
This is what the crash report tells you - Attempted to load class net/minecraft/client/entity/EntityPlayerSP for invalid side SERVER.