13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft
Rick ea24e2c6aa Fix incorrect command serialization by creating new Command
Fixes #11649 - As noted in the issue, when CommandNodes are serialized
they are used as the key in a Map. Their equals()/hashcode() should only
match if they are equal nodes (name & command), but due to the erasure of the command field pre-serialization, nodes with different commands can be mapped onto the same value. This causes the client to interpret both nodes as the same, causing suggestions where they should not.

This is fixed by creating a different no-op command for the
erasure, instead of them holding the same lambda.
2024-11-26 20:45:52 +01:00
..
advancements Lazily create LootContext for criterions 2023-11-21 12:16:39 -03:00
commands Fix incorrect command serialization by creating new Command 2024-11-26 20:45:52 +01:00
core Registry Modification API 2023-02-27 18:28:39 -08:00
data/loot/packs Remove set damage lootable item function from compasses 2024-08-22 22:55:37 +02:00
nbt Improve tag parser handling 2024-02-05 11:54:04 +01:00
network Add proper async player disconnections 2024-10-16 06:41:32 -07:00
resources Tag Lifecycle Events 2024-06-20 09:40:57 -07:00
server Tag Lifecycle Events 2024-06-20 09:40:57 -07:00
stats Fix spigot's Forced-Stats 2023-08-28 01:32:39 +01:00
tags Tag Lifecycle Events 2024-06-20 09:40:57 -07:00
util Validate usernames 2022-01-01 05:19:37 -08:00
world Expand scoreboard tag count validation to API set 2024-10-21 01:41:04 +02:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Disable memory reserve allocating 2024-01-18 23:25:09 +01:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Separate dimensiondata executor 2024-11-28 10:35:58 +01:00