garbagemule/MobArena — Issue #58: Could not pass Entity_Damage to MobArena
Author: Shaverman5000
Created: 2011-12-07 20:16:10+00:00
State: open

Hi... This is the error I get.

2011-12-07 15:09:25 [INFO] [MobArena] Arena 'emm' enabled
2011-12-07 15:11:00 [WARNING] Task of 'MobArena' generated an exception
java.lang.IllegalArgumentException: Health must be between 0 and 8
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:40)
at com.garbagemule.MobArena.waves.BossWave.spawn(BossWave.java:83)
at com.garbagemule.MobArena.MASpawnThread.spawnWave(MASpawnThread.java:141)
at com.garbagemule.MobArena.MASpawnThread.run(MASpawnThread.java:86)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-07 15:11:02 [SEVERE] Could not pass event ENTITY_DAMAGE to MobArena
java.lang.IllegalArgumentException: Health must be between 0 and 8
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:40)
at com.garbagemule.MobArena.MAListener.onMonsterDamage(MAListener.java:393)
at com.garbagemule.MobArena.MAListener.onEntityDamage(MAListener.java:323)
at com.garbagemule.MobArena.MAEntityListener.onEntityDamage(MAEntityListener.java:41)
at org.bukkit.plugin.java.JavaPluginLoader$63.execute(JavaPluginLoader.java:700)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityHuman.f(EntityHuman.java:782)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-07 15:11:02 [SEVERE] Could not pass event ENTITY_DAMAGE to MobArena
java.lang.IllegalArgumentException: Health must be between 0 and 8
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:40)
at com.garbagemule.MobArena.MAListener.onMonsterDamage(MAListener.java:393)
at com.garbagemule.MobArena.MAListener.onEntityDamage(MAListener.java:323)
at com.garbagemule.MobArena.MAEntityListener.onEntityDamage(MAEntityListener.java:41)
at org.bukkit.plugin.java.JavaPluginLoader$63.execute(JavaPluginLoader.java:700)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityHuman.f(EntityHuman.java:782)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2011-12-07 15:11:04 [SEVERE] Could not pass event ENTITY_DAMAGE to MobArena
java.lang.IllegalArgumentException: Health must be between 0 and 8
at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:40)
at com.garbagemule.MobArena.MAListener.onMonsterDamage(MAListener.java:393)
at com.garbagemule.MobArena.MAListener.onEntityDamage(MAListener.java:323)
at com.garbagemule.MobArena.MAEntityListener.onEntityDamage(MAEntityListener.java:41)
at org.bukkit.plugin.java.JavaPluginLoader$63.execute(JavaPluginLoader.java:700)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at net.minecraft.server.EntityHuman.f(EntityHuman.java:782)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)