Closed BonsaiDen closed 11 years ago
Ok thanks for letting me know. I was getting worried that there were no bug reports coming in. I didn't think this update was going to be THAT perfect. lol I'll take a look at it back when I'm home.
I was able to set up the MCP dev enviroment and debug the issue myself, seems to be a race condition of sorts.
MeteorInProtectedZone
returns true
in the onUpdate()
method but for some reason it returns false
inside of getSafeChunkCoords()
so the list returned is null
. Resulting in the exception at hand.
I guess one just do:
List safeCoords = MeteorsMod.proxy.meteorHandler.getSafeChunkCoords((int)this.posX, (int)this.posZ);
// Race conidition "fix"
if (safeCoords == null) {
return;
}
Or always return a (empty) list from getSafeChunkCoords
I just made getSafeChunkCoords return an empty list. That will still keep the for loop running the way it should and should be no conflicts. Will include in the bugfix update this weekend. Thanks for letting me know about this.
Hey there,
thought I rather open the issue here than post something on the Forums :)
Just had a meteor coming down, a few seconds later the game froze and crashed. Now, trying to load the world also results in a freeze followed by a crash.
Unfortunately I don't have any knowledge on how to compile the mod thing so I won't be able to have a deeper look into it.
Still awesome mod, thanks for the hard work!
Crash log below: