From cef2a7c188f88433b33d1d86734fa0cfe434d658 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 23 Mar 2024 19:04:17 -0400 Subject: [PATCH] Backfill code removed --- src/engine/objects/Item.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index d69f897c..4d289191 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -157,18 +157,6 @@ public class Item extends AbstractWorldObject { for (String itemFlag : flagString.split(";")) this.flags.add(Enum.ItemFlags.valueOf(itemFlag)); - // Backfill support - - int oldFlags = rs.getInt("old_flags"); - - if (oldFlags != 0) - this.flags.add(ItemFlags.Identified); - - // Empty flags should default to template - - if (this.flags.isEmpty()) - this.flags.addAll(this.template.item_flags); - this.dateToUpgrade = rs.getLong("item_dateToUpgrade"); this.value = rs.getInt("item_value");