mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-13 04:17:32 +00:00
Fix NodeJsonSerializer on older Gson versions (#4301)
This commit is contained in:
1 file changed
+1
-1
@@ -82,7 +82,7 @@ public class NodeJsonSerializer {
|
||||
}
|
||||
|
||||
public static JsonArray serializeNodes(Collection<Node> nodes) {
|
||||
JsonArray arr = new JsonArray(nodes.size());
|
||||
JsonArray arr = new JsonArray();
|
||||
for (Node node : nodes) {
|
||||
arr.add(serializeNode(node, false));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user