andrepl / PortableHorses

A bukkit plugin that lets you carry your horse in your inventory.
http://dev.bukkit.org/bukkit-plugins/portable-horses/
0 stars 6 forks source link

Could not pass event EntityDeathEvent to PortableHorses #4

Closed Zilacon closed 11 years ago

Zilacon commented 11 years ago

18:26:55 [SEVERE] Could not pass event EntityDeathEvent to PortableHorses v0.1.6 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:344) at net.minecraft.server.v1_6_R2.EntityInsentient.dropDeathLoot(EntityInsentient.java:202) at net.minecraft.server.v1_6_R2.EntityLiving.die(EntityLiving.java:764) at net.minecraft.server.v1_6_R2.EntityHorse.die(EntityHorse.java:701) at net.minecraft.server.v1_6_R2.EntityLiving.damageEntity(EntityLiving.java:716) at net.minecraft.server.v1_6_R2.EntityAnimal.damageEntity(SourceFile:128) at net.minecraft.server.v1_6_R2.EntityHorse.damageEntity(EntityHorse.java:251) at net.minecraft.server.v1_6_R2.EntityLiving.x(EntityLiving.java:155) at net.minecraft.server.v1_6_R2.EntityInsentient.x(EntityInsentient.java:111) at net.minecraft.server.v1_6R2.Entity.l(Entity.java:245) at net.minecraft.server.v1_6R2.EntityLiving.l(EntityLiving.java:1249) at net.minecraft.server.v1_6R2.EntityInsentient.l(EntityInsentient.java:150) at net.minecraft.server.v1_6R2.EntityHorse.l(EntityHorse.java:740) at net.minecraft.server.v1_6_R2.World.entityJoinedWorld(World.java:1492) at net.minecraft.server.v1_6_R2.World.playerJoinedWorld(World.java:1467) at net.minecraft.server.v1_6_R2.World.tickEntities(World.java:1336) at net.minecraft.server.v1_6_R2.WorldServer.tickEntities(WorldServer.java:517) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:571) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at com.norcode.bukkit.portablehorses.PortableHorses.isPortableHorseSaddle(PortableHorses.java:310) at com.norcode.bukkit.portablehorses.PortableHorses.onEntityDeath(PortableHorses.java:327) at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 26 more

andrepl commented 11 years ago

Fixed in https://github.com/andrepl/PortableHorses/commit/cbbde2472fc81ac7a203b99e451f9d8c0bd62442