[Botany] ArrayIndexOutOfBounds caused by ItemWeed
Shadows-of-Fire opened this issue ยท 3 comments
See Shadows-of-Fire/Plants#23
Oredict registration using wildcard meta causes ItemWeed
to not properly handle getItemStackDisplayName
and instead crash.
@SubscribeEvent
public void registerOre(OreDictionary.OreRegisterEvent event)
{
logger.debug(event.getOre().getDisplayName());
}
This is what tiny progressions is doing, but this is crashing when I register that item to the oredict with wildcard meta.
I did some more testing, and got the same crash on a version with only Plants, Binnies (and Forestry of course), and TinyProgressions. Binnies and Plants played nice together, but TinyProgressions threw everything into chaos.
Here's the crashlog for that: https://pastebin.com/5NyXw9kV