ecoCreature

ecoCreature

81.5k Downloads

Reward Errors for 1.2.3

NoelleMinuet opened this issue ยท 2 comments

commented

Everything seems to run smoothly until mobs are killed I get this error message.

2012-03-03 23:16:50 [SEVERE] Could not pass event EntityDeathEvent to ecoCreature
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:441)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:286)
    at net.minecraft.server.EntitySpider.dropDeathLoot(EntitySpider.java:136)
    at net.minecraft.server.EntityLiving.die(EntityLiving.java:770)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:666)
    at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:807)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:994)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.NoSuchMethodError: org.bukkit.event.Event.<init>(Ljava/lang/String;)V
    at se.crafted.chrisb.ecoCreature.events.CreatureKilledByPlayerEvent.<init>(CreatureKilledByPlayerEvent.java:26)
    at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.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)
    ... 16 more

Here's the start up log

http://pastie.org/3515919

commented

Try the latest dev build that has support through 1.2.4:
http://ci.milkbowl.net/view/mung3r/job/ecoCreature/

commented

The current latest build is made for bukkit 1.1-R3, in bukkit verion 1.1-R5 and up a number of important parts were changed. (Such as listeners and etc.) So any plugin that has not been updated for R5 at least will encounter this error. This is announced on the front of bukkit.org.