EntityDeathEvent
Fogest opened this issue ยท 0 comments
It looks like Bukkit must of changed something from 1.6.4 to 1.7.2. Here is a report form someone on an error occurring:
[23:24:46 ERROR]: Could not pass event EntityDeathEvent to HeadHunter v1.7.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[spigot.jar:git-Spigot-1233]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-1233]
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot.jar:git-Spigot-1233]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:482) [spigot.jar:git-Spigot-1233]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:467) [spigot.jar:git-Spigot-1233]
at org.bukkit.craftbukkit.v1_7_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:345) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.EntityInsentient.dropDeathLoot(EntityInsentient.java:202) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.EntityLiving.die(EntityLiving.java:790) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.EntityLiving.damageEntity(EntityLiving.java:739) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.EntityMonster.damageEntity(EntityMonster.java:47) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.EntityZombie.damageEntity(EntityZombie.java:156) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.EntityHuman.attack(EntityHuman.java:923) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1132) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.a(SourceFile:55) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.PacketPlayInUseEntity.handle(SourceFile:10) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:657) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:273) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot.jar:git-Spigot-1233]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1233]
Caused by: java.lang.NullPointerException
at com.scottwoodward.headhunter.helpers.DropHelper.getName(DropHelper.java:174) ~[?:?]
at com.scottwoodward.headhunter.helpers.DropHelper.drop(DropHelper.java:58) ~[?:?]
at com.scottwoodward.headhunter.listeners.EntityDeathListener.onMobDeath(EntityDeathListener.java:62) ~[?:?]
at sun.reflect.GeneratedMethodAccessor683.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_03]
at java.lang.reflect.Method.invoke(Method.java:601) ~[?:1.7.0_03]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[spigot.jar:git-Spigot-1233]
... 21 more
Source: http://pastebin.com/d4AukLFu