Add basic support for executing commands from signs

TODO: Wrap the player in to allow for plugins to handle it better

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot
2014-12-05 23:10:47 +00:00
parent af5d08b285
commit b8e4f690f8
3 changed files with 119 additions and 111 deletions

View File

@@ -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("/")) {