Paper/patches
willkroboth 5bb8a2e49d Cache Bukkit Command when wrapping CommandNodes
Resolves https://github.com/PaperMC/Paper/issues/11378 by "restoring" the Spigot behavior where VanillaCommandNodes are only created once. This allows command frameworks that insert CommandNodes directly into the Brigadier dispatcher to change the permission String of the VanillaCommandNodes created for their commands, rather than it always being the default `"minecraft.commands.<name>"`.

Previously, BukkitBrigForwardingMap would create a new VanillaCommandWrapper each time a CommandNode was requested via the Bukkit CommandMap. This means that calls to `Command#setPermission` would not persist between retrievals from the map.
2024-09-09 19:26:42 -04:00
..
api Add Decorated Pot Cracked API (#11365) 2024-09-08 22:12:36 +02:00
removed Re-add patches for can-place/can-destroy API (#11238) 2024-08-11 13:51:37 -07:00
server Cache Bukkit Command when wrapping CommandNodes 2024-09-09 19:26:42 -04:00
unapplied/server Apply optimise collision checking in move packet handling patch 2024-08-16 06:56:13 -07:00