summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/MinecraftServer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/MinecraftServer.java')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 5898919e..4062c04c 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -34,7 +34,7 @@ public class MinecraftServer implements Runnable, ICommandListener {
public PropertyManager d;
// public WorldServer e; // CraftBukkit - removed
public ServerConfigurationManager f;
- private ConsoleCommandHandler o;
+ public ConsoleCommandHandler o; // CraftBukkit - made public
private boolean p = true;
public boolean g = false;
int h = 0;
@@ -377,13 +377,8 @@ public class MinecraftServer implements Runnable, ICommandListener {
while (this.r.size() > 0) {
ServerCommand servercommand = (ServerCommand) this.r.remove(0);
- // CraftBukkit start
- if (server.dispatchCommand(console, servercommand.a)) {
- continue;
- }
- // CraftBukkit end
-
- this.o.a(servercommand);
+ server.dispatchCommand(console, servercommand); // CraftBukkit
+ // this.o.a(servercommand); // CraftBukkit - Removed its now called in server.displatchCommand
}
}