mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Update B/CB/S
Closes GH-288
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Submodule work/Bukkit updated: 329ef57aea...b276e93f56
Submodule work/CraftBukkit updated: 4e19de1295...d8637dfb7e
Submodule work/Spigot updated: 4af49dc0ab...8a048fe4a4
Reference in New Issue
Block a user