Weapon field parsing

This commit is contained in:
MagicBot committed 2024-02-24 15:32:45 -05:00
1 parent 55213c409b
commit 36f12f9c97
1 file changed
+1 -1
+1 -1
View File
@@ -167,7 +167,7 @@ public class ItemTemplate {
JSONObject weapon_damage = (JSONObject) jsonObject.get("weapon_damage");
item_weapon_damage_type = Enum.DamageType.valueOf((String) weapon_damage.get("damage_type"));
item_weapon_damage_min = ((Long) weapon_damage.get("damage_mi")).intValue();
item_weapon_damage_min = ((Long) weapon_damage.get("damage_min")).intValue();
item_weapon_damage_max = ((Long) weapon_damage.get("damage_max")).intValue();
}