mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-02-23 15:49:19 +08:00
Fix Brigadier command node redirect serialization (#565)
This commit is contained in:
parent
5303239f66
commit
9a15c7e170
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user