summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-02-26 19:05:20 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-02-26 19:05:20 +0000
commitbdc8c8404190cbd4ee0f7b7805a261eaff08cb45 (patch)
tree6b9bb1a8b8cf4c6569993a1fc43a1f76810e1a2d /src/main/java/net/minecraft/server
parentd7114a4f627114ff1c9e53e0478f91ca349b3b9b (diff)
downloadcraftbukkit-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.java11
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 ")) {