Migration to org.json
This commit is contained in:
@@ -546,8 +546,8 @@ public class ItemTemplate {
|
||||
JSONObject rune_sparse_json = jsonObject.getJSONObject("rune_sparse_data");
|
||||
|
||||
for (String sparseType : rune_sparse_json.keySet()) {
|
||||
String sparseValue = rune_sparse_json.getString(sparseType);
|
||||
rune_sparse_data.put(sparseType, sparseValue);
|
||||
Object sparseValue = rune_sparse_json.getString(sparseType);
|
||||
rune_sparse_data.put(sparseType, sparseValue.toString());
|
||||
}
|
||||
|
||||
JSONArray skill_adj_json = (JSONArray) jsonObject.get("rune_skill_adj");
|
||||
|
||||
Reference in New Issue
Block a user