From bdc8c8404190cbd4ee0f7b7805a261eaff08cb45 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sat, 26 Feb 2011 19:05:20 +0000 Subject: [PATCH] Removed onCommand --- .../java/net/minecraft/server/NetServerHandler.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index ba3721038b..033966bd75 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 ")) {