Parse offering info.

This commit is contained in:
2024-03-07 20:40:32 -05:00
parent 5476d238fa
commit 54b7fc2212
+1 -1
View File
@@ -182,7 +182,7 @@ public class ItemTemplate {
for (Object entry : offering_data) {
JSONObject offering_entry = (JSONObject) entry;
String offering_type = ((String) offering_entry.get("offering_type")).replaceAll("-", "");
int offering_value = ((Double) offering_entry.get("offering_value")).intValue();
int offering_value = ((Long) offering_entry.get("offering_value")).intValue();
item_offering_info.put(offering_type, offering_value);
}