ResourcefulCrops

ResourcefulCrops

173k Downloads

crash on startup

zedner opened this issue ยท 15 comments

commented

Edited with pastebin:
http://pastebin.com/KAFTaW1t

commented

Did you modify your seed json at all?

commented

no, just dragged your mod into mods folder and started minecraft.

commented

Could I get a copy of your seed json?

commented

sure if i knew where to find it :D

commented

../config/ResourcefulCrops/Seeds.json

commented

its empty...

commented

Well then, that's a problem...

For now, you can copy all this into it to (hopefully) avoid the crash.

http://tehnut.info/share/CDp8ZuaRHJ.txt

commented

ok it worked, thx

commented

i have the same exact crash

commented

Just to be clear, the file is there, it's just empty, correct?

commented

ok dude, i dont know what to say, sorry if i wasted your time.

commented

I meant it more as a "This is weird, why would it happen to others and not me?"

commented

I'm unable to reproduce this both indev and in a game environment.

commented

Alright, so did some more testing. It does not happen alone. Only with other mods. That is why I couldn't reproduce. Hum...

commented

To explain what happened:

Other mods are doing stupid shit. They query OreDictionary.getOres(entry) without checking OreDictionary.doesOreNameExist(entry) first. The latter checks if the entry exists without adding anything to the dictionary. The former checks if it exists and if not, it will add an entry with an empty list.

By querying OreDictionary.getOres(entry) blindly, it spams the OreDict with values that shouldn't be there.