diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-26 19:05:20 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-26 19:05:20 +0000 |
commit | bdc8c8404190cbd4ee0f7b7805a261eaff08cb45 (patch) | |
tree | 6b9bb1a8b8cf4c6569993a1fc43a1f76810e1a2d /src/main/java/net/minecraft/server | |
parent | d7114a4f627114ff1c9e53e0478f91ca349b3b9b (diff) | |
download | craftbukkit-bdc8c8404190cbd4ee0f7b7805a261eaff08cb45.tar craftbukkit-bdc8c8404190cbd4ee0f7b7805a261eaff08cb45.tar.gz craftbukkit-bdc8c8404190cbd4ee0f7b7805a261eaff08cb45.tar.lz craftbukkit-bdc8c8404190cbd4ee0f7b7805a261eaff08cb45.tar.xz craftbukkit-bdc8c8404190cbd4ee0f7b7805a261eaff08cb45.zip |
Removed onCommand
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index ba372103..033966bd 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -657,17 +657,6 @@ public class NetServerHandler extends NetHandler implements ICommandListener { return; } - // Legacy command handler - event = new PlayerChatEvent(Type.PLAYER_COMMAND, player, s); - server.getPluginManager().callEvent(event); - - if (event.isCancelled()) { - return; - } - - s = event.getMessage(); - player = (CraftPlayer) event.getPlayer(); - EntityPlayer e = player.getHandle(); // CraftBukkit stop if (s.toLowerCase().startsWith("/me ")) { |