Update to item effect serialization

This commit is contained in:
2024-04-19 10:11:27 -04:00
parent 264094924b
commit c03c1f4057
2 changed files with 22 additions and 17 deletions
-9
View File
@@ -51,7 +51,6 @@ public class Item extends AbstractWorldObject {
public int chargesRemaining;
public mbEnums.EquipSlotType equipSlot;
private boolean canDestroy;
private boolean isRandom = false;
public int value;
public OwnerType ownerType;
public int templateID;
@@ -1129,14 +1128,6 @@ public class Item extends AbstractWorldObject {
this.value = value;
}
public boolean isRandom() {
return isRandom;
}
public void setRandom(boolean isRandom) {
this.isRandom = isRandom;
}
public boolean isCustomValue() {
if (this.value == 0)
return false;