EntityDeathEvent error
Sikatsu opened this issue · 10 comments
Spotted an error: http://pastebin.com/1qD1mdpe / http://pastebin.com/xQ2KxWW2
Same here : It don't like snowballs.
[13:33:02] [Server thread/ERROR]: Could not pass event EntityDeathEvent to MobHunting v4.4.8
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:392) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.EntityLiving.die(EntityLiving.java:1079) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.EntityLiving.damageEntity(EntityLiving.java:933) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.EntityMonster.damageEntity(EntityMonster.java:44) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.EntityWither.damageEntity(EntityWither.java:467) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.EntitySnowball.a(SourceFile:45) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.EntityProjectile.A_(EntityProjectile.java:167) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.World.entityJoinedWorld(World.java:1629) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.World.h(World.java:1604) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.World.tickEntities(World.java:1430) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.WorldServer.tickEntities(WorldServer.java:618) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:814) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: org.bukkit.command.CommandException: Unhandled exception executing command 'mobhunt' in plugin MobHunting v4.4.8
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at one.lindegaard.MobHunting.MobHuntingManager.onMobDeath(MobHuntingManager.java:1382) ~[?:?]
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
... 19 more
Caused by: java.lang.NumberFormatException: For input string: "MH_b8c4d2aa"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_111]
at java.lang.Long.parseLong(Long.java:589) ~[?:1.8.0_111]
at java.lang.Long.valueOf(Long.java:776) ~[?:1.8.0_111]
at java.lang.Long.decode(Long.java:928) ~[?:1.8.0_111]
at java.util.UUID.fromString(UUID.java:198) ~[?:1.8.0_111]
at one.lindegaard.MobHunting.rewards.CustomItems.getCustomtexture(CustomItems.java:57) ~[?:?]
at one.lindegaard.MobHunting.mobs.MinecraftMob.getHead(MinecraftMob.java:623) ~[?:?]
at one.lindegaard.MobHunting.commands.HeadCommand.onCommand(HeadCommand.java:143) ~[?:?]
at one.lindegaard.MobHunting.commands.CommandDispatcher.onCommand(CommandDispatcher.java:116) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:650) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
at one.lindegaard.MobHunting.MobHuntingManager.onMobDeath(MobHuntingManager.java:1382) ~[?:?]
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2-20170204a.jar:git-Spigot-d4f98a3-4448a7e]
... 19 more
@Rocologo This error is really spammy, perhaps any information?
Awesome, I didn't have time yet to do the mh debug. Pretty busy weekend. Will test 4.5.0 soon!
There are two error on this ticket. Your bug with MyPet killing mobs has been fixed now.
I have not tested the snowball error yet.
Oh, I don't know about the snowball issue though. Just the MyPet error was a bitch. ^^
This line
Caused by: java.lang.NumberFormatException: For input string: "MH_b8c4d2aa"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_111]
tells me that it is something with the cmd line to be run when a mob is killed. I need to the the cmd line for the given mob. Please enable /mh debug so I get the debug information.