mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 02:35:52 -07:00
Commands can be sent from the console (WIP, needs improvements)
This commit is contained in:
@@ -581,7 +581,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener {
|
||||
private void c(String s) {
|
||||
// CraftBukkit start
|
||||
CraftPlayer player = getPlayer();
|
||||
boolean targetPluginFound = server.dispatchCommand(player, s);
|
||||
boolean targetPluginFound = server.dispatchCommand(player, s.substring(1));
|
||||
if (targetPluginFound) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user