Mekanism Tools

Mekanism Tools

77M Downloads

Division by zero in ItemMekaSuitArmor

andrewsf opened this issue ยท 1 comments

commented

Issue description:

ArithmeticException: Division by zero in mekanism.api.math.FloatingLong.divideEquals

Called by ItemMekaSuitArmor.getDamageAbsorbed(ItemMekaSuitArmor.java:269)

Similar to #6111 but called from totally different code.

Steps to reproduce:

  1. PneumaticCraft: Repressurized
  2. Build something very hot, like a Flux Compressor (powered) with 5+ Speed Upgrades
  3. Place a bunch of Heat Sinks against it
  4. Bump into the heat sinks while they are hot

Only occurred once, even though I have taken damage from heat sinks many times. Probably not consistently reproducible.

Version (make sure you are on the latest version before reporting):

Forge: 34.1.25
Mekanism: 10.0.15.441
Other relevant version: All the Mods 6 @ 1.2.1

Stack trace from crash report

https://pastebin.com/GGWzb0f4

commented

No idea why I was unable to find #6688, I swear I searched so many terms. Blaming GitHub.

Thanks @pupnewfster