Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.

Requires corresponding CraftBukkit change.

NOTE: The email address of this commit used to be: "Nathan Wolf < <nteske@gmail.com>"
      This has been fixed but will cause all commits after to change.

By: Nathan Wolf <nteske@gmail.com>
This commit is contained in:
Bukkit/Spigot
2011-01-19 00:07:38 +08:00
parent 14009cb350
commit f0cb21dc46
4 changed files with 54 additions and 0 deletions

View File

@@ -152,6 +152,9 @@ public final class JavaPluginLoader implements PluginLoader {
case PLAYER_EGG_THROW:
trueListener.onPlayerEggThrow((PlayerEggThrowEvent)event);
break;
case PLAYER_ANIMATION:
trueListener.onPlayerAnimation((PlayerAnimationEvent)event);
break;
}
} else if (listener instanceof BlockListener) {
BlockListener trueListener = (BlockListener)listener;