summaryrefslogtreecommitdiffstats
path: root/nms-patches/ICommand.patch
diff options
context:
space:
mode:
authorFabian Faßbender <fabian.fassbender42@googlemail.com>2014-11-29 00:38:21 +0100
committerThinkofdeath <thinkofdeath@spigotmc.org>2014-11-29 10:57:22 +0000
commita2c4d7e150ea295a656487062a187be07cd47677 (patch)
tree8d65adf8e0ff04e2a494db2fe9094c26821614d3 /nms-patches/ICommand.patch
parentc61594c782c531914dfc66dbd8dcbef86b8d627b (diff)
downloadcraftbukkit-a2c4d7e150ea295a656487062a187be07cd47677.tar
craftbukkit-a2c4d7e150ea295a656487062a187be07cd47677.tar.gz
craftbukkit-a2c4d7e150ea295a656487062a187be07cd47677.tar.lz
craftbukkit-a2c4d7e150ea295a656487062a187be07cd47677.tar.xz
craftbukkit-a2c4d7e150ea295a656487062a187be07cd47677.zip
Minecraft by default only uses the World at index 0 for the WorldBorder command. This fixes SPIGOT-12
Diffstat (limited to 'nms-patches/ICommand.patch')
-rw-r--r--nms-patches/ICommand.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nms-patches/ICommand.patch b/nms-patches/ICommand.patch
new file mode 100644
index 00000000..f42a35f4
--- /dev/null
+++ b/nms-patches/ICommand.patch
@@ -0,0 +1,11 @@
+--- ../work/decompile-8eb82bde//net/minecraft/server/ICommand.java 2014-11-29 00:40:43.197707433 +0000
++++ src/main/java/net/minecraft/server/ICommand.java 2014-11-29 00:40:17.000000000 +0000
+@@ -10,7 +10,7 @@
+
+ List b();
+
+- void execute(ICommandListener icommandlistener, String[] astring);
++ void execute(ICommandListener icommandlistener, String[] astring) throws ExceptionUsage; // CraftBukkit - Add exception
+
+ boolean canUse(ICommandListener icommandlistener);
+