diff options
Diffstat (limited to 'nms-patches/CommandTp.patch')
-rw-r--r-- | nms-patches/CommandTp.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/CommandTp.patch b/nms-patches/CommandTp.patch index de9d839e..e1663bf7 100644 --- a/nms-patches/CommandTp.patch +++ b/nms-patches/CommandTp.patch @@ -1,6 +1,6 @@ --- a/net/minecraft/server/CommandTp.java +++ b/net/minecraft/server/CommandTp.java -@@ -97,27 +97,28 @@ +@@ -98,27 +98,28 @@ } else { Entity entity = b(minecraftserver, icommandlistener, astring[astring.length - 1]); @@ -24,7 +24,7 @@ } } - public List<String> tabComplete(MinecraftServer minecraftserver, ICommandListener icommandlistener, String[] astring, BlockPosition blockposition) { + public List<String> tabComplete(MinecraftServer minecraftserver, ICommandListener icommandlistener, String[] astring, @Nullable BlockPosition blockposition) { - return astring.length != 1 && astring.length != 2 ? Collections.emptyList() : a(astring, minecraftserver.getPlayers()); + return astring.length != 1 && astring.length != 2 ? Collections.<String>emptyList() : a(astring, minecraftserver.getPlayers()); // CraftBukkit - decompile error } |