Archiviert
13
0

Removed onCommand

Dieser Commit ist enthalten in:
Dinnerbone 2011-02-26 19:05:20 +00:00
Ursprung d7114a4f62
Commit bdc8c84041

Datei anzeigen

@ -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 ")) {