geforkt von Mirrors/FastAsyncWorldEdit
Fixed some spout compatibility issues.
Dieser Commit ist enthalten in:
Ursprung
37da1fec40
Commit
3510999d25
1
pom.xml
1
pom.xml
@ -103,6 +103,7 @@
|
|||||||
<directory>${basedir}/src/main/resources/</directory>
|
<directory>${basedir}/src/main/resources/</directory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>plugin.yml</include>
|
<include>plugin.yml</include>
|
||||||
|
<include>spoutplugin.yml</include>
|
||||||
</includes>
|
</includes>
|
||||||
</resource>
|
</resource>
|
||||||
<resource>
|
<resource>
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
package com.sk89q.worldedit.spout;
|
package com.sk89q.worldedit.spout;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
import org.getspout.api.command.CommandException;
|
import org.getspout.api.command.CommandException;
|
||||||
import org.getspout.api.command.CommandSource;
|
import org.getspout.api.command.CommandSource;
|
||||||
import org.getspout.api.command.RawCommandExecutor;
|
import org.getspout.api.command.RawCommandExecutor;
|
||||||
@ -37,7 +36,6 @@ public class SpoutRawCommandExecutor implements RawCommandExecutor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(CommandSource source, String[] args, int baseIndex, boolean fuzzyLookup) throws CommandException {
|
public void execute(CommandSource source, String[] args, int baseIndex, boolean fuzzyLookup) throws CommandException {
|
||||||
Bukkit.getServer().getCommandAliases();
|
|
||||||
args[baseIndex] = "/" + args[baseIndex];
|
args[baseIndex] = "/" + args[baseIndex];
|
||||||
if (!plugin.getWorldEdit().handleCommand(plugin.wrapCommandSender(source), MiscCompatibilityUtils.arrayCopyOfRange(args, baseIndex, args.length))) {
|
if (!plugin.getWorldEdit().handleCommand(plugin.wrapCommandSender(source), MiscCompatibilityUtils.arrayCopyOfRange(args, baseIndex, args.length))) {
|
||||||
throw new CommandException("Unknown command: '" + args[baseIndex] + "'!");
|
throw new CommandException("Unknown command: '" + args[baseIndex] + "'!");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren