From 131592090f6a6c42eddd615012c1d90d914863eb Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 16 Mar 2024 07:41:16 -0400 Subject: [PATCH] Deed related values parsed --- src/engine/objects/ItemTemplate.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); }