PlayerItem wearingItem = player.wearingItems.get(request.wearPosition);
if(null != wearingItem){
player.wearingItems.remove(wearingItem.wearingPosition);
wearingItem.wearingPosition = null;
wearingItem.isWearing = false;
<BUG>session.db.update(wearingItem);
session.sendPacket(new ServerPacket.AddItem(player.inGameId, wearingItem));</BUG>
}
player.wearingItems.put(request.wearPosition,itemToWear);
itemToWear.wearingPosition = request.wearPosition;

PlayerItem wearingItem = player.wearingItems.get(request.wearPosition);
if(null != wearingItem){
player.wearingItems.remove(wearingItem.wearingPosition);
wearingItem.wearingPosition = null;
wearingItem.isWearing = false;
session.db.update(wearingItem);
player.items.put(wearingItem.id,wearingItem);
session.sendPacket(new ServerPacket.AddItem(player.inGameId, wearingItem));
}
player.wearingItems.put(request.wearPosition,itemToWear);
itemToWear.wearingPosition = request.wearPosition;
