mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Fix Brigadier command node redirect serialization (#565)
This commit is contained in:
@@ -121,6 +121,9 @@ public class AvailableCommands implements MinecraftPacket {
|
||||
if (!idMappings.containsKey(child)) {
|
||||
idMappings.put(child, idMappings.size());
|
||||
childrenQueue.addAll(child.getChildren());
|
||||
if (child.getRedirect() != null) {
|
||||
childrenQueue.add(child.getRedirect());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user