Fix to rune_group parsing
This commit is contained in:
@@ -473,8 +473,10 @@ public class ItemTemplate {
|
|||||||
rune_speed.put(movementType, speed);
|
rune_speed.put(movementType, speed);
|
||||||
}
|
}
|
||||||
|
|
||||||
rune_group_type = ((Long) jsonObject.get("rune_group_type")).intValue();
|
JSONObject rune_group = (JSONObject) jsonObject.get("rune_group");
|
||||||
rune_group_is_faction = ((Boolean) jsonObject.get("rune_group_is_faction"));
|
|
||||||
|
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_group_is_guild = ((Boolean) jsonObject.get("rune_group_is_guild"));
|
||||||
rune_dsc = (String) jsonObject.get("rune_dsc");
|
rune_dsc = (String) jsonObject.get("rune_dsc");
|
||||||
rune_fx_txt = (String) jsonObject.get("rune_fx_txt");
|
rune_fx_txt = (String) jsonObject.get("rune_fx_txt");
|
||||||
|
|||||||
Reference in New Issue
Block a user