From 52750e6d6b9f6672d97227d696cd253a7d663465 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 18 Feb 2024 14:08:45 -0500 Subject: [PATCH] Fleshing out constructor --- src/engine/objects/ItemTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/ItemTemplate.java b/src/engine/objects/ItemTemplate.java index 9d164acb..8922fa7d 100644 --- a/src/engine/objects/ItemTemplate.java +++ b/src/engine/objects/ItemTemplate.java @@ -73,7 +73,7 @@ public class ItemTemplate { item_type = Enum.ItemType.valueOf((String) jsonObject.get("item_type")); item_eq_slots_value = ((Long) jsonObject.get("item_eq_slots_value")).intValue(); - item_eq_slots_type = (boolean) jsonObject.get("item_eq_slots_value"); + item_eq_slots_type = (boolean) jsonObject.get("item_eq_slots_type"); // Parsing an enumset