EntityDamageByEntityEvent exception on every explosion #1


  • New
  • Defect
Open
Assigned to _ForgeUser7292128
  • _ForgeUser9004431 created this issue Jun 23, 2012

    What steps will reproduce the problem?
    1. Have a creeper blow up with the magical creeper mod installed

    What is the expected output? What do you see instead?
    Mod seems to behave normally despite the exception? Players get debuffs such as blinding and hunger, and take no damage.

    What version of the product are you using?
    1.0 for CB 1.2.5-R4.0

    Do you have an error log of what happened?
    [SEVERE] Could not pass event EntityDamageByEntityEvent to Magical Creepers
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
            at net.minecraft.server.Explosion.a(Explosion.java:160)
            at net.minecraft.server.World.createExplosion(World.java:1560)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:241)
            at net.minecraft.server.EntityCreeper.F_(EntityCreeper.java:79)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1282)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:107)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1264)
            at net.minecraft.server.World.tickEntities(World.java:1165)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:547)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftItem cannot be cast to org.bukkit.entity.LivingEntity
            at com.olympuspvp.caldabeast.MagicalCreepers.addRandomEffect(MagicalCreepers.java:69)
            at com.olympuspvp.caldabeast.MagicalCreepers.onCreeperExplode(MagicalCreepers.java:46)
            at sun.reflect.GeneratedMethodAccessor65.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:301)
            ... 13 more

    Please provide any additional information below.
    Using Craftbukkit 1.2.5-R1.3 with jre 1.7.0_05. I realize my Craftbukkit is a bit old, but it's provided by Tekkit 3.0.4.

  • _ForgeUser9004431 added the tags New Defect Jun 23, 2012

To post a comment, please login or register a new account.