@ -560,12 +560,19 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -560,12 +560,19 @@ public class ClientMessagePump implements NetMsgHandler {
if(!itemManager.inventoryContains(i))
return;
//cannot delete gold
if(i.getItemBaseID()==7)
return;
if(i.isCanDestroy())
if(itemManager.delete(i)==true){
intgoldValue=i.getItemBase().getBaseValue();
if(itemManager.delete(i)){
intgoldValue=i.getBaseValue();
if(i.getItemBase().isRune())
goldValue=500000;
if(i.getItemBaseID()==980066)
goldValue=0;
if(goldValue>0)
itemManager.addGoldToInventory(goldValue,false);
@ -1251,6 +1258,8 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1251,6 +1258,8 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1450,7 +1459,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1450,7 +1459,7 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1584,7 +1593,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1584,7 +1593,7 @@ public class ClientMessagePump implements NetMsgHandler {