Unused item constructor removed.

This commit is contained in:
MagicBot committed 2024-03-01 15:59:42 -05:00
1 parent 8eaaabb4d4
commit 531662e012
1 file changed
-31
-31
View File
@@ -99,37 +99,6 @@ public class Item extends AbstractWorldObject {
bakeInStats();
}
public Item(ItemBase itemBase, int ownerID,
OwnerType ownerType, byte chargesMax, byte chargesRemaining,
short durabilityCurrent, short durabilityMax, boolean canDestroy,
boolean rentable, boolean inBank, boolean inVault,
boolean inInventory, boolean isEquipped, boolean isForge, byte equipSlot,
ArrayList<EnchantmentBase> enchants) {
super();
this.itemBaseID = itemBase.getUUID();
this.ownerID = ownerID;
this.ownerType = ownerType;
this.chargesMax = (byte) itemBase.getNumCharges();
this.chargesRemaining = (byte) itemBase.getNumCharges();
this.durabilityMax = (short) itemBase.getDurability();
this.durabilityCurrent = (short) itemBase.getDurability();
this.canDestroy = canDestroy;
this.rentable = rentable;
this.equipSlot = equipSlot;
this.enchants = enchants;
this.flags = 1;
this.value = this.magicValue;
loadEnchantments();
bakeInStats();
}
/**
* Normal Constructor
*/