From 97c0b0bbeee2ae9390c9a465858433235a2d18f1 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 24 Mar 2024 09:36:01 -0400 Subject: [PATCH] Unused method removed --- src/engine/objects/Item.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/engine/objects/Item.java b/src/engine/objects/Item.java index 4ef1039e..575500c7 100644 --- a/src/engine/objects/Item.java +++ b/src/engine/objects/Item.java @@ -1019,19 +1019,6 @@ public class Item extends AbstractWorldObject { this.magicValue = this.template.item_value + calcMagicValue(); } - public void clearEnchantments() { - - //Clear permanent enchantment out of database - DbManager.EnchantmentQueries.CLEAR_ENCHANTMENTS((long) this.getObjectUUID()); - - for (String name : this.getEffects().keySet()) { - Effect eff = this.getEffects().get(name); - if (!eff.bakedInStat()) - this.endEffect(name); - } - this.effectNames.clear(); - } - public void addPermanentEnchantment(String enchantID, int rank) { AbstractPowerAction apa = PowersManager.getPowerActionByIDString(enchantID); if (apa == null)