An-Sar / PrimalCore

Official Wiki, Issue Tracking, Localization
12 stars 7 forks source link

java.lang.ArrayIndexOutOfBoundsException Crash w/ AutoPlant & Bamboozled #235

Closed WenXin20 closed 6 years ago

WenXin20 commented 6 years ago

Forge v14.23.4.2747-1.12.2 PrimalCore v0.6.69 I got this crash while playing in the world. I was in a candy world mod biome, if that helps. Crash Report Latest Log

An-Sar commented 6 years ago

i couldn't immediately reproduce this crash.

try adding bamboozled:bamboo to the config PLANT_AUTO_MAGIC_BLACKLIST, under the plants section.

WenXin20 commented 6 years ago

It seems to have worked, although its hard to tell since I don't know the exact circumstance that caused the crash.

WenXin20 commented 6 years ago

I removed it from the blacklist tried it to see if the bamboozled:bamboo would auto plant, and it doesn't, it just despawns, so maybe that isn't the problem.

WenXin20 commented 6 years ago

After a little more investigating, I got the crash to happen again after adding the mod Autoplant back into the test pack. I got it to happen after throwing the bamboozled:bamboo on the grass block. So it looks like a combination of Bamboozled, Autoplant, and PrimalCore causes this. Before this crash, I was unaware that PrimalCore had an auto plant feature. If I remove PrimalCore, the crash does not happen. The Autoplant mod will plant the bamboo, but PrimalCore doesn't. Crash Report

An-Sar commented 6 years ago

Yeah i will add auto-plant to my dev environment and see if i can reproduce the issue. Thank you for the debugging

WenXin20 commented 6 years ago

Thanks, and it was no problem!

An-Sar commented 6 years ago

i still cant reproduce the crash, but i have a dev build

WenXin20 commented 6 years ago

Yes, the dev build fixed it for me, so did v0.6.70 of PrimalCore. Thanks!