Added onPlayerMove and onPlayerTeleport

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2010-12-28 16:59:25 +00:00
parent e61f164e8b
commit 3a968aa90a
4 changed files with 169 additions and 4 deletions

View File

@@ -93,6 +93,12 @@ public final class JavaPluginLoader implements PluginLoader {
case PLAYER_CHAT:
trueListener.onPlayerChat((PlayerChatEvent)event);
break;
case PLAYER_MOVE:
trueListener.onPlayerMove((PlayerMoveEvent)event);
break;
case PLAYER_TELEPORT:
trueListener.onPlayerTeleport((PlayerMoveEvent)event);
break;
}
}
}