From 3510999d25bfc6cb13c9f0a0e08241e7eb33422f Mon Sep 17 00:00:00 2001 From: zml2008 Date: Thu, 5 Jan 2012 21:15:59 -0800 Subject: [PATCH] Fixed some spout compatibility issues. --- pom.xml | 1 + .../java/com/sk89q/worldedit/spout/SpoutRawCommandExecutor.java | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index eaa910c8b..483e4edb4 100644 --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,7 @@ ${basedir}/src/main/resources/ plugin.yml + spoutplugin.yml diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutRawCommandExecutor.java b/src/main/java/com/sk89q/worldedit/spout/SpoutRawCommandExecutor.java index c1d31cea2..e15c238b6 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutRawCommandExecutor.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutRawCommandExecutor.java @@ -18,7 +18,6 @@ package com.sk89q.worldedit.spout; -import org.bukkit.Bukkit; import org.getspout.api.command.CommandException; import org.getspout.api.command.CommandSource; import org.getspout.api.command.RawCommandExecutor; @@ -37,7 +36,6 @@ public class SpoutRawCommandExecutor implements RawCommandExecutor { @Override public void execute(CommandSource source, String[] args, int baseIndex, boolean fuzzyLookup) throws CommandException { - Bukkit.getServer().getCommandAliases(); args[baseIndex] = "/" + args[baseIndex]; if (!plugin.getWorldEdit().handleCommand(plugin.wrapCommandSender(source), MiscCompatibilityUtils.arrayCopyOfRange(args, baseIndex, args.length))) { throw new CommandException("Unknown command: '" + args[baseIndex] + "'!");