forked from MagicBane/Server
Update to sparsetype parsing
This commit is contained in:
@@ -547,8 +547,8 @@ public class ItemTemplate {
|
||||
|
||||
for (Object key : rune_sparse_json.keySet()) {
|
||||
String sparseType = key.toString();
|
||||
String sparseValue = rune_sparse_json.getString(sparseType);
|
||||
rune_sparse_data.put(sparseType, sparseValue);
|
||||
Object sparseValue = rune_sparse_json.get(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