13
0
geforkt von Mirrors/Paper
Closes GH-288
Dieser Commit ist enthalten in:
Zach Brown 2016-05-20 17:32:50 -05:00
Ursprung 8bee892ded
Commit 143ab568d4
4 geänderte Dateien mit 12 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -71,14 +71,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
if (!(sender instanceof EntityPlayer)) {
return ImmutableList.of();
}
@@ -0,0 +0,0 @@ public final class CraftServer implements Server {
List<String> offers;
Player player = ((EntityPlayer) sender).getBukkitEntity();
if (message.startsWith("/")) {
- return tabCompleteCommand(player, message);
+ return tabCompleteCommand(player, message, blockPosition);
- offers = tabCompleteCommand(player, message);
+ offers = tabCompleteCommand(player, message, blockPosition);
} else {
return tabCompleteChat(player, message);
offers = tabCompleteChat(player, message);
}
@@ -0,0 +0,0 @@ public final class CraftServer implements Server {
getPluginManager().callEvent(tabEvent);
return tabEvent.isCancelled() ? Collections.EMPTY_LIST : tabEvent.getCompletions();
+ // Paper end
}

@ -1 +1 @@
Subproject commit 329ef57aea4529ce36b9d59b22d2ce00d1c64cb0
Subproject commit b276e93f56cc04aaa2011efa1fe16b839c611eb7

@ -1 +1 @@
Subproject commit 4e19de129580f7e2e9bf10734e09d3dbc3ca9722
Subproject commit d8637dfb7e581c9745aa8f7f505b971c99720159

@ -1 +1 @@
Subproject commit 4af49dc0abc0056b1f66f92a2ee107f9f1749a82
Subproject commit 8a048fe4a4351b6a293cea7409a42332a31f17f5