From dc6bce6f530a3830ab723778b8514e849c8eda92 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 11 Feb 2024 08:01:42 -0500 Subject: [PATCH] Testing of new helper at bootstrap. --- src/engine/objects/ItemBase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/objects/ItemBase.java b/src/engine/objects/ItemBase.java index bca6e6da..c94e1a14 100644 --- a/src/engine/objects/ItemBase.java +++ b/src/engine/objects/ItemBase.java @@ -126,6 +126,8 @@ public class ItemBase { this.minDamage = rs.getShort("minDamage"); this.maxDamage = rs.getShort("maxDamage"); + this.requiredRaces = DbManager.parseEnumSet(rs.getString("races_required"), Enum.MonsterType.class); + this.mastery = rs.getString("mastery"); damageType = DamageType.valueOf(rs.getString("damageType"));