mmoMinecraftDev/mmoCore — Issue #16: DIV/0 error on server tick.
Author: Nox13last
Created: 2012-02-05 14:57:03+00:00
State: open

**Steps taken:**
1) Log in.

**Software version:**
Craftbukkit 1.1.R4-b1846 (MC1.1) (API 1.1.R3)
mmoCore v2.2
Spout v721

**Error, generated on every tick. Leaks memory until halted or exhausted:**
2012-02-05 12:19:01 [INFO] player [*IP REDACTED*] logged in with entity id 1578 at (world] -69.84975132301932, 63.0, -127.38434207821697)
2012-02-05 12:19:03 [INFO] Reading data
2012-02-05 12:19:03 [INFO] [Spout] Successfully authenticated *player's* Spoutcraft client. Running client version: 1096
2012-02-05 12:19:03 [SEVERE] java.lang.ArithmeticException: / by zero
2012-02-05 12:19:03 [SEVERE]	at mmo.Core.MMO.getArmor(MMO.java:114)
2012-02-05 12:19:03 [SEVERE]	at mmo.Core.gui.GenericLivingEntity.getBottomValue(GenericLivingEntity.java:189)
2012-02-05 12:19:03 [SEVERE]	at mmo.Core.gui.GenericLivingEntity.onTick(GenericLivingEntity.java:246)
2012-02-05 12:19:03 [SEVERE]	at org.getspout.spoutapi.gui.GenericScreen.onTick(GenericScreen.java:139)
2012-02-05 12:19:03 [SEVERE]	at org.getspout.spoutapi.gui.InGameScreen.onTick(InGameScreen.java:70)
2012-02-05 12:19:03 [SEVERE]	at org.getspout.spout.player.SpoutCraftPlayer.onTick(SpoutCraftPlayer.java:1209)
2012-02-05 12:19:03 [SEVERE]	at org.getspout.spout.ServerTickTask.run(ServerTickTask.java:40)
2012-02-05 12:19:03 [SEVERE]	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
2012-02-05 12:19:03 [SEVERE]	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
2012-02-05 12:19:03 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
2012-02-05 12:19:03 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)