forked from MagicBane/Server
Update to item effect serialization
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user