SleepyTrousers / EnderZoo

Creative Commons Zero v1.0 Universal
28 stars 28 forks source link

onPotionRegister doesn't check if floating potion is disabled #213

Closed noobanidus closed 6 years ago

noobanidus commented 6 years ago

Instead, RegistryHandler.java:47 registers the return from getFloatingPotion without checking if config.floatingPotionEnabled. This causes a crash on startup as the resulting variable is null.

Accidentally disabled the potion as I was scrolling down to disable some of the other mobs.

tyler489 commented 6 years ago

Are you using ender zoo or the new enderio zoo?

noobanidus commented 6 years ago

Specficially EnderZoo-1.12.1-1.4.0.49. Sorry, I didn't realise there was a new version! I didn't notice on the EnderZoo minecraftforge page that there was a new version and that this one wasn't being updated.