geforkt von Mirrors/Velocity
Fix Brigadier command node redirect serialization (#565)
Dieser Commit ist enthalten in:
Ursprung
5303239f66
Commit
9a15c7e170
@ -121,6 +121,9 @@ public class AvailableCommands implements MinecraftPacket {
|
|||||||
if (!idMappings.containsKey(child)) {
|
if (!idMappings.containsKey(child)) {
|
||||||
idMappings.put(child, idMappings.size());
|
idMappings.put(child, idMappings.size());
|
||||||
childrenQueue.addAll(child.getChildren());
|
childrenQueue.addAll(child.getChildren());
|
||||||
|
if (child.getRedirect() != null) {
|
||||||
|
childrenQueue.add(child.getRedirect());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren