aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorwillkroboth <[email protected]>2024-06-17 21:16:55 +0200
committerNassim Jahnke <[email protected]>2024-06-17 21:17:51 +0200
commitb3e072a62515d17c9e6c6d0bb844faf6b8770ff2 (patch)
treedc0008b83958dc4041f76248c98b7fe9ea554ac8 /patches
parentbf8552f0f074e6e3a5151c0c1407041d64399dee (diff)
downloadPaper-b3e072a62515d17c9e6c6d0bb844faf6b8770ff2.tar.gz
Paper-b3e072a62515d17c9e6c6d0bb844faf6b8770ff2.zip
Fix `hasFiredAsync` parameter when `AsyncPlayerSendCommandsEvent` is called (#10896)
Diffstat (limited to 'patches')
-rw-r--r--patches/server/0278-Brigadier-Mojang-API.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0278-Brigadier-Mojang-API.patch b/patches/server/0278-Brigadier-Mojang-API.patch
index cd301233eb..d72c59abab 100644
--- a/patches/server/0278-Brigadier-Mojang-API.patch
+++ b/patches/server/0278-Brigadier-Mojang-API.patch
@@ -102,7 +102,7 @@ index a05aea8561ac102476ee1b3068942b095950a86a..2b5235aea933462ca711abb5b59b6715
private void runSync(ServerPlayer player, Collection<String> bukkit, RootCommandNode<SharedSuggestionProvider> rootcommandnode) {
// Paper end - Perf: Async command map building
-+ new com.destroystokyo.paper.event.brigadier.AsyncPlayerSendCommandsEvent<CommandSourceStack>(player.getBukkitEntity(), (RootCommandNode) rootcommandnode, false).callEvent(); // Paper - Brigadier API
++ new com.destroystokyo.paper.event.brigadier.AsyncPlayerSendCommandsEvent<CommandSourceStack>(player.getBukkitEntity(), (RootCommandNode) rootcommandnode, true).callEvent(); // Paper - Brigadier API
PlayerCommandSendEvent event = new PlayerCommandSendEvent(player.getBukkitEntity(), new LinkedHashSet<>(bukkit));
event.getPlayer().getServer().getPluginManager().callEvent(event);