|
|
@ -567,9 +567,9 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
if (!itemManager.inventoryContains(i)) |
|
|
|
if (!itemManager.inventoryContains(i)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
if (i.isCanDestroy()) { |
|
|
|
if (i.canDestroy) { |
|
|
|
if (itemManager.delete(i) == true) { |
|
|
|
if (itemManager.delete(i) == true) { |
|
|
|
int value = i.getItemBase().getBaseValue(); |
|
|
|
int value = i.getItemBase().value; |
|
|
|
if(i.getItemBase().isRune()) |
|
|
|
if(i.getItemBase().isRune()) |
|
|
|
value = 500000; |
|
|
|
value = 500000; |
|
|
|
sourcePlayer.getCharItemManager().addGoldToInventory(value,false); |
|
|
|
sourcePlayer.getCharItemManager().addGoldToInventory(value,false); |
|
|
|