Spice of Life: Carrot Edition

Spice of Life: Carrot Edition

57M Downloads

Crashing

D-Fink opened this issue ยท 9 comments

commented

https://pastebin.com/pyFecUAW
I just cant seem to get it to work "/

commented

I'm looking into this now. When exactly is this crashing @abloodyfetus ?

commented

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.

commented

@talonos2 Yes it is on a dedicated server, see line 105.

commented

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. :(

commented

its crashing during pre-init I guess?

commented

Correct, we'll look into it. I can't quite today but hopefully a hotfix will go out soon.

commented

no rush! I appreciate the quick response

commented

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