junk from inventory

This commit is contained in:
2024-06-11 21:10:54 -05:00
parent 231feef7fe
commit 9a34b13c2e
@@ -562,6 +562,13 @@ public class ClientMessagePump implements NetMsgHandler {
if (i.isCanDestroy())
if (itemManager.delete(i) == true) {
int goldValue = i.getItemBase().getBaseValue();
if(i.getItemBase().isRune())
goldValue = 500000;
if(goldValue > 0)
itemManager.addGoldToInventory(goldValue,false);
Dispatch dispatch = Dispatch.borrow(sourcePlayer, msg);
DispatchMessage.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
}