betterphp / BloodMoon

A plugin for Bukkit based Minecraft servers to add a new mechanic similar to the bloodmoon event in Terraria
http://dev.bukkit.org/server-mods/bloodmoon/
9 stars 15 forks source link

Plugin created explosions cause an error #88

Closed betterphp closed 11 years ago

betterphp commented 11 years ago

getting this with your latest dev build, just a heads up. Looks like it's conflicting with ExtraHardMode's custom explosions. Anyway to fix?

2013-05-03 06:59:27 [SEVERE] Could not pass event EntityExplodeEvent to BloodMoon v0.24-SNAPSHOT
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:26)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    at net.minecraft.server.v1_5_R3.Explosion.a(Explosion.java:220)
    at net.minecraft.server.v1_5_R3.World.createExplosion(World.java:1734)
    at net.minecraft.server.v1_5_R3.WorldServer.createExplosion(WorldServer.java:876)
    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.createExplosion(CraftWorld.java:583)
    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.createExplosion(CraftWorld.java:579)
    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.createExplosion(CraftWorld.java:591)
    at me.ryanhamshire.ExtraHardMode.event.EntityEventHandler.onEntityDamage(EntityEventHandler.java:1122)
    at sun.reflect.GeneratedMethodAccessor63.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)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    at net.minecraft.server.v1_5_R3.Explosion.a(Explosion.java:142)
    at net.minecraft.server.v1_5_R3.World.createExplosion(World.java:1733)
    at net.minecraft.server.v1_5_R3.WorldServer.createExplosion(WorldServer.java:876)
    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.createExplosion(CraftWorld.java:583)
    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.createExplosion(CraftWorld.java:579)
    at org.bukkit.craftbukkit.v1_5_R3.CraftWorld.createExplosion(CraftWorld.java:591)
    at me.ryanhamshire.ExtraHardMode.event.EntityEventHandler.onEntityDamage(EntityEventHandler.java:1122)
    at sun.reflect.GeneratedMethodAccessor63.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)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:89)
    at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:377)
    at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:433)
    at net.minecraft.server.v1_5_R3.EntityLiving.damageEntity(EntityLiving.java:681)
    at net.minecraft.server.v1_5_R3.EntityLiving.x(EntityLiving.java:326)
    at net.minecraft.server.v1_5_R3.Entity.l_(Entity.java:261)
    at net.minecraft.server.v1_5_R3.EntityLiving.l_(EntityLiving.java:501)
    at net.minecraft.server.v1_5_R3.EntitySlime.l_(EntitySlime.java:86)
    at net.minecraft.server.v1_5_R3.World.entityJoinedWorld(World.java:1456)
    at net.minecraft.server.v1_5_R3.WorldServer.entityJoinedWorld(WorldServer.java:646)
    at net.minecraft.server.v1_5_R3.World.playerJoinedWorld(World.java:1432)
    at net.minecraft.server.v1_5_R3.World.tickEntities(World.java:1304)
    at net.minecraft.server.v1_5_R3.WorldServer.tickEntities(WorldServer.java:512)
    at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:562)
    at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
    at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.NullPointerException
    at uk.co.jacekk.bukkit.bloodmoon.feature.world.DungeonListener.onEntityExplode(DungeonListener.java:95)
    at sun.reflect.GeneratedMethodAccessor550.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)
    ... 52 more