Migration to org.json

This commit is contained in:
2024-04-22 09:32:20 -04:00
parent ba47b30673
commit 475ccaff0c
+2 -2
View File
@@ -547,8 +547,8 @@ public class ItemTemplate {
JSONObject rune_sparse_json = (JSONObject) jsonObject.get("rune_sparse_data");
for (Object key : rune_sparse_json.keySet()) {
String sparseType = (String) key;
for (String key : rune_sparse_json.keySet()) {
String sparseType = key;
Object sparseValue = rune_sparse_json.get(sparseType);
rune_sparse_data.put(sparseType, sparseValue.toString());
}