diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 24a4cf87..eee95ae3 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -391,11 +391,11 @@ public class ItemTemplate { deed_target_id = ((Long) jsonObject.get("deed_target_id")).intValue(); deed_employment = ((Long) jsonObject.get("deed_employment")).intValue(); deed_start_rank = ((Long) jsonObject.get("deed_start_rank")).intValue(); - deed_name_lookup = ((Long) jsonObject.get("deed_start_rank")).intValue(); - deed_indoors = ((Boolean) disc_required.get("deed_indoors")); - deed_is_fortress = ((Boolean) disc_required.get("deed_is_fortress")); + deed_name_lookup = ((Long) jsonObject.get("deed_name_lookup")).intValue(); + deed_indoors = ((Boolean) jsonObject.get("deed_indoors")); + deed_is_fortress = ((Boolean) jsonObject.get("deed_is_fortress")); deed_namelookup_val = ((Double) jsonObject.get("deed_namelookup_val")).floatValue(); - deed_custom_city = ((Boolean) disc_required.get("deed_custom_city")); + deed_custom_city = ((Boolean) jsonObject.get("deed_custom_city")); deed_structure_id = ((Long) jsonObject.get("deed_structure_id")).intValue(); }