forked from MagicBane/Server
Madness; refactor out?
This commit is contained in:
@@ -935,15 +935,6 @@ public class Item extends AbstractWorldObject {
|
||||
}
|
||||
|
||||
protected synchronized boolean equipItem(NPC npc, Enum.EquipSlotType slot) {
|
||||
if (!DbManager.ItemQueries.UPDATE_OWNER(this,
|
||||
npc.getObjectUUID(), //UUID
|
||||
//isNPC
|
||||
//isPlayer
|
||||
//isAccount
|
||||
ItemContainerType.EQUIPPED,
|
||||
slot)) //Slot
|
||||
|
||||
return false;
|
||||
this.zeroItem();
|
||||
this.ownerID = npc.getObjectUUID();
|
||||
this.ownerType = OwnerType.Npc;
|
||||
|
||||
Reference in New Issue
Block a user