From 531662e0122410e2688322d739b4af3cc9dceeea Mon Sep 17 00:00:00 2001 From: MagicBot Date: Fri, 1 Mar 2024 15:59:42 -0500 Subject: [PATCH] Unused item constructor removed. --- src/engine/objects/Item.java | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index fd9bfc0b..754d94ce 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -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 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 */