Divide-by-zero crash if tameable Treasure Slime chance percentage is set to 0
nihiltres opened this issue ยท 2 comments
Title says it all; the crash log is very clear, and the problem goes away immediately if I set the tameable treasure slime chance percentage to 1 as a compromise.
There's a decent chance the same crash might apply to other numeric inputs.
SANITIZE YOUR INPUTS!
:)
Looks like you need to change the order of the conditions on line 113 of EntityTreasureSlime.java.