|
|
@ -154,6 +154,13 @@ public class Item extends AbstractWorldObject { |
|
|
|
for (String itemFlag : flagString.split(";")) |
|
|
|
for (String itemFlag : flagString.split(";")) |
|
|
|
this.flags.add(Enum.ItemFlags.valueOf(itemFlag)); |
|
|
|
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
|
|
|
|
// Empty flags should default to template
|
|
|
|
|
|
|
|
|
|
|
|
if (this.flags.isEmpty()) |
|
|
|
if (this.flags.isEmpty()) |
|
|
|