PaperMC/paper-server/src
willkroboth 08b2b8926d 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. Before this commit, BukkitBrigForwardingMap would create a new VanillaCommandWrapper each time a CommandNode was requested via the Bukkit CommandMap. This meant that calls to `Command#setPermission` would not persist between retrievals from the map.

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>"`.
2024-12-23 11:43:38 -05:00
..
log4jPlugins/java/io/papermc/paper Rewrite LogEvents to contain the source jars in stack traces 2021-07-10 11:12:30 +02:00
main Cache Bukkit Command when wrapping CommandNodes 2024-12-23 11:43:38 -05:00
test refactor registry entry to detach 'delayed' from other meta 2024-12-22 21:17:34 -08:00