Files
paper-mc/patches/server
Rick 5cd1518c9a Fix incorrect command serialization by creating new Command (#11671)
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-12-08 22:43:09 +01:00
..
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 22:06:05 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-05 14:44:50 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-05 11:18:29 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-05 11:18:29 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 22:06:05 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 18:27:11 +01:00
2024-12-03 19:54:10 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 19:21:12 +01:00
2024-12-03 20:34:55 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00
2024-12-03 19:05:31 +01:00