Fix to rune_group parsing

This commit is contained in:
2024-04-04 11:00:19 -04:00
parent 58455843f9
commit 587ac802de
+4 -2
View File
@@ -473,8 +473,10 @@ public class ItemTemplate {
rune_speed.put(movementType, speed);
}
rune_group_type = ((Long) jsonObject.get("rune_group_type")).intValue();
rune_group_is_faction = ((Boolean) jsonObject.get("rune_group_is_faction"));
JSONObject rune_group = (JSONObject) jsonObject.get("rune_group");
rune_group_type = ((Long) rune_group.get("group_type")).intValue();
rune_group_is_faction = ((Boolean) rune_group.get("group_is_faction"));
rune_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild"));
rune_dsc = (String) jsonObject.get("rune_dsc");
rune_fx_txt = (String) jsonObject.get("rune_fx_txt");