3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

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; 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 // CraftBukkit stop
if (s.toLowerCase().startsWith("/me ")) { if (s.toLowerCase().startsWith("/me ")) {