EMI

EMI

1M Downloads

Crash if maxDamage = 0

AmyMialee opened this issue ยท 0 comments

commented

Sorry if this is just me being a terrible programmer but when making a tool/armour unbreakable I tend to give it a max damage of 0, but when EMI tries to render the anvil screen that causes issues with the random.nextInt() since the bound must be positive.

crash-2022-06-20_04.57.11-client.txt