PaperMC/paper-server
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
..
patches Fix incorrect command serialization by creating new Command 2024-11-26 20:45:52 +01:00
src Fix Player.setPlayerListOrder to send update to clients 2024-12-10 15:45:47 +01:00
.gitignore Setup Gradle project 2020-12-10 20:54:19 -08:00
build.gradle.kts Bundle spark 2024-07-16 14:55:23 -07:00
LGPL.txt
LICENCE.txt