Commit 8ef32158 authored by Mathieu Féry (Mathius)'s avatar Mathieu Féry (Mathius)
Browse files

Merge branch 'api' into jonctApiFront

parents a1f19621 db9d870c
Pipeline #23358 failed with stages
in 2 minutes and 38 seconds
......@@ -1345,12 +1345,12 @@ public class DnDSheet implements Serializable {
List<String> equipment = new ArrayList<>();
if (json.get("equipment") != jsonNull)
for (JsonElement lang : json.get("equipment").getAsJsonArray())
for (JsonElement equip : json.get("equipment").getAsJsonArray())
List<String> notes = new ArrayList<>();
if (json.get("languages") != jsonNull)
for (JsonElement lang : json.get("languages").getAsJsonArray())
if (json.get("notes") != jsonNull)
for (JsonElement note : json.get("notes").getAsJsonArray())
List<String> spells = new ArrayList<>();
if (json.get("spell") != jsonNull)
for (JsonElement spell : json.get("spell").getAsJsonArray())
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment