Growlith1223 / ArsMagica2

Ars Magica 2 Bug Tracker
65 stars 32 forks source link

Entity Flicker Crashing server #352

Open EchenCraft opened 7 years ago

EchenCraft commented 7 years ago

had 4 crashes on a fresh world and all 4 for the exact same mob, doesnt happen in single player.

Crash Log

EdwinMindcraft commented 7 years ago

It looks like a mod interaction. Basically one of your mods adds a biome without tags, which makes the lenght of it's types 0 and rand.nextInt(0) is an error.

EchenCraft commented 7 years ago

would that be biome bundle/OTG? The only other mod I can think of that added a biome at that time was Ars Magica 2 though I believe it was turned off. Could this be an issue with something not liking virtual biomes? From what I understand everything should be treating the extended biomes as if they are vanilla biomes of a specific kind.

Further, I havent seen this issue again, it did it 3 or 4 times on that one map with that one specific pack build and hasnt since. I cant recreate it so at this point Im hoping it was just a one time thing.

EdwinMindcraft commented 7 years ago

Unfortunately it's not a one time thing. The issue is there and it's unavoidable in large packs. On the other hand it's a really simple fix. Just a check to see if the size of the array is over 0.

Growlith1223 commented 7 years ago

thx for letting me know! will be fixed in next version