diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 03468c49..baaf3c81 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -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); }