Rename to conform

This commit is contained in:
2024-04-02 14:37:01 -04:00
parent ddba4f290d
commit 1603c8d8e9
+4 -5
View File
@@ -408,12 +408,11 @@ public class ItemTemplate {
if (item_type.equals(Enum.ItemType.RUNE)) {
JSONObject attr_adj_json = (JSONObject) jsonObject.get("rune_attr_adj");
JSONArray attr_adj_json = (JSONArray) jsonObject.get("rune_attr_adj");
for (Object attributes : attr_adj_json) {
attributes.toString();
for (Object key : attr_adj_json.keySet()) {
Enum.AttributeType attributeType = Enum.AttributeType.valueOf((String) key);
int value = ((Long) resist_json.get(key)).intValue();
rune_attr_adj.put(attributeType, value);
}
}