forked from MagicBane/Server
Backfill code removed
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user