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
Kobe ⑧
17f649de1e
Fix PlayerTradeEvent visual issue when being cancelled ( #11773 )
2024-12-23 10:40:04 +01:00
Shane Freeder
cbf630d5b5
Move missing import into feature patches to fix pre-features compile
...
Came across this in my complete utter failure to use the commands to
apply patches properly
2024-12-23 09:28:58 +00:00
Owen
188124bcc3
Fix totems negating incorrect item ( #11776 )
2024-12-22 23:58:01 -05:00
Bjarne Koll
f8bf600375
Fix potion effect type removal ( #11778 )
...
An incorrectly updated hunk attempted to remove the MobEffectInstance
from the active effect map instead of the Holder<MobEffect> as the
parameter name was changed from holder to effect during hardfork.
2024-12-23 04:51:58 +01:00
Jake Potrebic
eb793c3131
[ci skip] more cleanup from repo reorg
2024-12-22 19:07:17 -08:00
Lulu13022002
3bfdf6a07a
fix flying too long check
2024-12-21 19:27:59 +01:00
Bjarne Koll
286e3468d7
Some more cleanup
2024-12-21 16:03:34 +01:00
Nassim Jahnke
70ef43b8dd
More cleanup of var names
2024-12-21 15:53:00 +01:00
Nassim Jahnke
3b0b3a0aef
and some more
2024-12-21 13:45:04 +01:00
Nassim Jahnke
82216a59fe
Apply some feature patches to files instead
...
They're small and/or really shouldn't be left unapplied
2024-12-21 13:21:47 +01:00
Nassim Jahnke
e0593e9286
More diff/changed variable name cleanup
2024-12-21 12:15:25 +01:00
Isaac - The456
85c428b0be
Fix unintentional change to default "overridePermissions" argument ( #11759 )
2024-12-21 10:25:14 +01:00
Nassim Jahnke
1dc6ad1df0
Fix vehicle movement check
2024-12-21 00:16:55 +01:00
Lulu13022002
051ab9117a
fix more diff
2024-12-20 23:39:43 +01:00
Lulu13022002
2213ce5bbc
fix enderpearl across portals
2024-12-20 21:22:58 +01:00
Spottedleaf
48f34f8c90
Port CB changes from Moonrise patch
2024-12-20 10:52:51 -08:00
Spottedleaf
6186079231
Migrate ChunkSystem class to PaperHooks
2024-12-20 09:22:42 -08:00
Nassim Jahnke
f3c1eb3dc0
More param name fixes
2024-12-20 12:45:19 +01:00
Nassim Jahnke
42a2ccff55
Remove dead diff, some name/diff cleanup
2024-12-20 12:00:24 +01:00
Bjarne Koll
fd1b6b1ae9
Readd configurable auth server down kick message
2024-12-20 03:07:59 +01:00
Bjarne Koll
68bbd2e202
Improve diff in ServerPlayer#openHorseInventory
2024-12-20 03:07:58 +01:00
Bjarne Koll
993db46961
Comment typo
2024-12-20 03:07:58 +01:00
Bjarne Koll
431303ff40
Move ChunkMap setServerViewDistance to ATs
2024-12-20 03:07:58 +01:00
Owen1212055
2935905ced
Small sculk cleanup
...
Don't check for empty items anymore in FishingHook.
Removes some diff + we handle it gracefully in add fresh entity
2024-12-19 20:44:24 -05:00
Lulu13022002
25a7793b9c
drop duplicate block update
2024-12-19 22:12:09 +01:00
Lulu13022002
1f86b55302
reapply SummonEntityEffect
2024-12-19 21:29:31 +01:00
Nassim Jahnke
a438cc45f6
Small diff cleanup
2024-12-19 15:55:01 +01:00
Nassim Jahnke
4353c33213
Move flat bedrock generator to file patches
2024-12-19 12:26:28 +01:00
Nassim Jahnke
5f9265cc31
Update more feature patches
...
The incremental chunk saving patch has exactly one line that it expects to come from the moonrise patch, I just left the output as is
2024-12-19 12:03:16 +01:00
Nassim Jahnke
0eb8f95dec
Properly update diff in NaturalSpawner
2024-12-19 11:30:22 +01:00
Nassim Jahnke
8f5d9953f5
Fix DensityFunctions lvt
2024-12-19 11:01:00 +01:00
Jake Potrebic
15ad7cc156
improve comment and better local var name
2024-12-18 18:54:31 -08:00
Jake Potrebic
49f715fdda
update brig in the API and patch cleanup
2024-12-18 18:30:29 -08:00
Lulu13022002
5922e6334b
fix allowPermanentBlockBreakExploits config
2024-12-18 23:35:47 +01:00
Lulu13022002
c71ada60db
get offline player data file from the right folder
2024-12-18 21:54:15 +01:00
Lulu13022002
dce53e05b8
fix bogged dropping shears instead of mushrooms
2024-12-18 19:37:10 +01:00
Lulu13022002
6126012369
readd beacon effect cause
2024-12-18 19:29:39 +01:00
Nassim Jahnke
dedc6b3394
Fix more diffs in block package
2024-12-18 13:24:47 +01:00
Nassim Jahnke
71bcc8c845
Fix diffs in block package
2024-12-18 13:00:21 +01:00
Nassim Jahnke
a5e786a578
Add back missing hunk in AbstractFurnaceBlockEntity
2024-12-18 12:36:30 +01:00
Nassim Jahnke
c4fd69c807
Fix more derps from file patch updates
2024-12-18 11:56:22 +01:00
Nassim Jahnke
9d837fe4b6
Cat has luckily since stopped singing
2024-12-18 10:27:19 +01:00
Nassim Jahnke
c55ad7092c
Fix stats event call
2024-12-17 22:19:33 +01:00
Nassim Jahnke
972266605e
Remove dead code, param renames in added methods
2024-12-17 22:04:50 +01:00
Nassim Jahnke
d94e258d01
Clean up add/removePluginChunkTicket
...
No need to be that invasive to Vanilla code for simple, non-hot and small collection checks
2024-12-17 21:40:20 +01:00
Bjarne Koll
88b2981e09
Readd final mod to ChunkHolder#getTickingChunk
2024-12-17 20:32:08 +01:00
Nassim Jahnke
7caf863b52
Small diff cleanups from patch updating
...
And remove a dumb log change in PacketEncoder
2024-12-17 16:50:59 +01:00
Nassim Jahnke
2d83f05a6c
Update watchdog patches
2024-12-17 13:32:46 +01:00
Jake Potrebic
ac69f75d23
Apply Improve-performance-of-mass-crafts directly
2024-12-17 11:45:39 +01:00