@ -567,9 +567,9 @@ public class ClientMessagePump implements NetMsgHandler {
if (!itemManager.inventoryContains(i))
return;
if (i.isCanDestroy()) {
if (i.canDestroy) {
if (itemManager.delete(i) == true) {
int value = i.getItemBase().getBaseValue();
int value = i.getItemBase().value;
if(i.getItemBase().isRune())
value = 500000;
sourcePlayer.getCharItemManager().addGoldToInventory(value,false);
@ -51,7 +51,7 @@ public class Item extends AbstractWorldObject {
private short durabilityCurrent;
private byte chargesRemaining;
private byte equipSlot;
private boolean canDestroy;
public boolean canDestroy;
private boolean rentable;
private boolean isRandom = false;
private int value;
@ -39,7 +39,7 @@ public class ItemBase{
private int uuid;
private String name;
private float durability;
public int value;
private short weight;
private short color;
private ItemType type;