mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
[Bleeding] Added Conversations API. Addresses BUKKIT-864
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import java.awt.GraphicsEnvironment;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
@@ -570,8 +569,8 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
|
||||
servercommand = new ServerCommand(event.getCommand(), servercommand.source);
|
||||
// CraftBukkit end
|
||||
|
||||
// this.consoleCommandHandler.handle(servercommand); // CraftBukkit - Removed its now called in server.dispatchCommand
|
||||
this.server.dispatchCommand(this.console, servercommand); // CraftBukkit
|
||||
// this.consoleCommandHandler.handle(servercommand); // CraftBukkit - Removed its now called in server.dispatchServerCommand
|
||||
this.server.dispatchServerCommand(this.console, servercommand); // CraftBukkit
|
||||
}
|
||||
}
|
||||
|
||||
@@ -715,7 +714,7 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
|
||||
this.server.getPluginManager().callEvent(event);
|
||||
ServerCommand servercommand = new ServerCommand(event.getCommand(), RemoteControlCommandListener.instance);
|
||||
// this.consoleCommandHandler.handle(new ServerCommand(s, RemoteControlCommandListener.instance)); // CraftBukkit - removed
|
||||
this.server.dispatchCommand(this.remoteConsole, servercommand); // CraftBukkit
|
||||
this.server.dispatchServerCommand(this.remoteConsole, servercommand); // CraftBukkit
|
||||
// CraftBukkit end
|
||||
return RemoteControlCommandListener.instance.b();
|
||||
}
|
||||
|
Reference in New Issue
Block a user