Browse Source

long not double

combat-2
MagicBot 8 months ago
parent
commit
a09ac1f2a2
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -456,7 +456,7 @@ public class ItemTemplate {
rune_exp_req_to_level = ((Double) jsonObject.get("rune_exp_req_to_level")).floatValue(); rune_exp_req_to_level = ((Double) jsonObject.get("rune_exp_req_to_level")).floatValue();
rune_sex = Enum.SexType.valueOf((String) jsonObject.get("rune_sex")); rune_sex = Enum.SexType.valueOf((String) jsonObject.get("rune_sex"));
rune_class_icon = ((Long) jsonObject.get("rune_class_icon")).intValue(); rune_class_icon = ((Long) jsonObject.get("rune_class_icon")).intValue();
rune_health = ((Double) jsonObject.get("rune_health")).floatValue(); rune_health = ((Long) jsonObject.get("rune_health")).intValue();
rune_mana = ((Long) jsonObject.get("rune_mana")).intValue(); rune_mana = ((Long) jsonObject.get("rune_mana")).intValue();
rune_stamina = ((Long) jsonObject.get("rune_stamina")).intValue(); rune_stamina = ((Long) jsonObject.get("rune_stamina")).intValue();
rune_min_damage = ((Double) jsonObject.get("rune_min_damage")).floatValue(); rune_min_damage = ((Double) jsonObject.get("rune_min_damage")).floatValue();

Loading…
Cancel
Save