Please forgive me for my lack of knowledge in how the plugin system works but when using some plugins that call simple hooks result in some errors:
Some examples:
Example 1 (SpawnMob):
2013-08-05 14:20:33 [SEVERE] Exception while calling plugin function in 'class SpawnMobListener' while calling hook: 'ATTACK'.
java.lang.ClassCastException
2013-08-05 14:30:26 [SEVERE] Throwable while calling plugin (Outdated?)
java.lang.StackOverflowError
at PluginListener.onAttack(PluginListener.java:768)
at PluginListener.onAttack(PluginListener.java:768)
at PluginListener.onAttack(PluginListener.java:768)
at PluginListener.onAttack(PluginListener.java:768)
at PluginListener.onAttack(PluginListener.java:768)
at PluginListener.onAttack(PluginListener.java:768)
-- this got spammed a ton in a short while --
Example 2 (Realms):
013-08-05 15:39:24 [SEVERE] Exception while calling plugin function in 'class Realms_CanaryClassicListener' while calling hook: 'MOB_TARGET'.
java.lang.ClassCastException
013-08-05 15:41:07 [SEVERE] Exception while calling plugin function in 'class Realms_CanaryClassicListener' while calling hook: 'POTION_EFFECT'.
java.lang.ClassCastException: Player cannot be cast to LivingEntity
at PluginLoader.callHook(PluginLoader.java:1282)
at OEntityLivingBase.c(OEntityLivingBase.java:482)
at OEntityWitherSkull.a(SourceFile:78)
at OEntityFireball.l_(OEntityFireball.java:122)
at OWorld.a(OWorld.java:1247)
at OWorldServer.a(OWorldServer.java:469)
at OWorld.g(OWorld.java:1228)
at OWorld.h(OWorld.java:1129)
at OWorldServer.h(OWorldServer.java:345)
at OMinecraftServer.t(OMinecraftServer.java:463)
at ODedicatedServer.t(SourceFile:262)
at OMinecraftServer.s(OMinecraftServer.java:392)
at OMinecraftServer.run(OMinecraftServer.java:331)
at OThreadMinecraftServer.run(SourceFile:582)
Please forgive me for my lack of knowledge in how the plugin system works but when using some plugins that call simple hooks result in some errors:
Some examples:
Example 1 (SpawnMob):
Example 2 (Realms):
These are known working plugins.