long not double

This commit is contained in:
2024-04-04 10:54:22 -04:00
parent 8c454c5d7c
commit a09ac1f2a2
+1 -1
View File
@@ -456,7 +456,7 @@ public class ItemTemplate {
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_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_stamina = ((Long) jsonObject.get("rune_stamina")).intValue();
rune_min_damage = ((Double) jsonObject.get("rune_min_damage")).floatValue();