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:
Thinkofdeath committed 2014-12-05 23:10:47 +00:00
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("/")) {