MobRider

MobRider

117k Downloads

Conflict with Tossers

Inscrutable opened this issue ยท 1 comments

commented

I use the plugin Tossers to nerf my creepers, which makes them ride players about.
Unfortunately, It seems that MobRider gets involved in the loop. It still works, but throw the
following error when they attack a player (CB RB5, Tossers 2.0, MobRider 0.46.1):

2012-08-02 19:37:24 [SEVERE] Could not pass event EntityDamageByEntityEvent to MobRider
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEvent(CraftEventFactory.java:80)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:364)
    at org.bukkit.craftbukkit.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:386)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:607)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:592)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:209)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.damage(CraftLivingEntity.java:166)
    at com.redf1sh.tossers.TosserEntityListener.onExplosionPrime(TosserEntityListener.java:103)
    at sun.reflect.GeneratedMethodAccessor206.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:302)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.EntityCreeper.F_(EntityCreeper.java:74)
    at net.minecraft.server.Entity.R(Entity.java:1239)
    at net.minecraft.server.EntityLiving.R(EntityLiving.java:427)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1259)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:99)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1243)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1306)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:99)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1243)
    at net.minecraft.server.World.tickEntities(World.java:1150)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:550)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:451)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftCreeper cannot be cast to org.bukkit.entity.Player
    at com.edwardhand.mobrider.listeners.RiderDamageListener.onEntityDamage(RiderDamageListener.java:80)
    at sun.reflect.GeneratedMethodAccessor60.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:302)
    ... 31 more
commented

Thanks for the info. This has already been patched in development after the last official release.