Crashing
D-Fink opened this issue ยท 9 comments
https://pastebin.com/pyFecUAW
I just cant seem to get it to work "/
Question: Is this running on a dedicated server?
It's saying it can't find the "EntityPlayerSP", which is really odd. Sorry about this, it's the first time I tried messing with packets.
@talonos2 Yes it is on a dedicated server, see line 105.
Welp, that'll be it. I guess some classes just plain don't exist on a server.
Could you look into it? I'm at work right now and will be for hours yet. Maybe a few "world.isRemote" checks? Just make sure that when connecting to an external dedicated server that the tooltips still work.
Also, I guess we gotta start doing and testing server builds now. :(
Correct, we'll look into it. I can't quite today but hopefully a hotfix will go out soon.
One way to solve this is create a helper class like so for use in packet handling: https://github.com/squeek502/SpiceOfLife/blob/1.9.4/java/squeek/spiceoflife/network/NetworkHelper.java
Fixed and released:
https://minecraft.curseforge.com/projects/spice-of-life-carrot-edition/files