Skip to content

Commit

Permalink
Fix crash on serializing space teams (#3726)
Browse files Browse the repository at this point in the history
(cherry picked from commit 81d63a5)
  • Loading branch information
lordIcocain authored and Dream-Master committed Dec 30, 2024
1 parent 8cd8c3c commit 01d5932
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ private static class SpaceTeamAdapter
public JsonElement serialize(HashMap<UUID, UUID> src, Type typeOfSrc, JsonSerializationContext context) {
JsonArray map = new JsonArray();
for (Entry<UUID, UUID> entry : src.entrySet()) {
if (entry.getKey() == null) continue;
JsonObject teamMap = new JsonObject();

teamMap.addProperty(
Expand Down

0 comments on commit 01d5932

Please sign in to comment.