Unused junk removed
This commit is contained in:
@@ -53,7 +53,6 @@ public class Item extends AbstractWorldObject {
|
|||||||
private int value;
|
private int value;
|
||||||
public OwnerType ownerType;
|
public OwnerType ownerType;
|
||||||
public int templateID;
|
public int templateID;
|
||||||
private AbstractWorldObject lastOwner;
|
|
||||||
private long dateToUpgrade;
|
private long dateToUpgrade;
|
||||||
private int magicValue;
|
private int magicValue;
|
||||||
public ItemTemplate template;
|
public ItemTemplate template;
|
||||||
@@ -840,9 +839,8 @@ public class Item extends AbstractWorldObject {
|
|||||||
DbManager.ItemQueries.UPDATE_OWNER(this, 0, false, false, false, ItemContainerType.NONE, 0);
|
DbManager.ItemQueries.UPDATE_OWNER(this, 0, false, false, false, ItemContainerType.NONE, 0);
|
||||||
this.zeroItem();
|
this.zeroItem();
|
||||||
|
|
||||||
//TODO do we want to delete the item here?
|
|
||||||
this.lastOwner = null;
|
|
||||||
//cleanup item from server.
|
//cleanup item from server.
|
||||||
|
|
||||||
this.removeFromCache();
|
this.removeFromCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user