mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Commands can be sent from the console (WIP, needs improvements)
This commit is contained in:
1 parent
657913faeb
commit
21b8c16886
2 files changed
+9
-1
No files matched your search
@@ -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