mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Add basic support for executing commands from signs
TODO: Wrap the player in to allow for plugins to handle it better
This commit is contained in:
1 parent
e6809b3b9b
commit
cc2b09de09
3 files changed
+119
-111
No files matched your search
@@ -70,7 +70,7 @@ public final class VanillaCommandWrapper extends VanillaCommand {
|
||||
return (List<String>) vanillaCommand.tabComplete(getListener(sender), args, new BlockPosition(0, 0, 0));
|
||||
}
|
||||
|
||||
public final int dispatchVanillaCommandBlock(CommandBlockListenerAbstract icommandlistener, String s) {
|
||||
public final int dispatchVanillaCommandBlock(ICommandListener icommandlistener, String s) {
|
||||
// Copied from net.minecraft.server.CommandHandler
|
||||
s = s.trim();
|
||||
if (s.startsWith("/")) {
|
||||
|
||||
Reference in new issue
Block a user