This commit is contained in:
2024-04-22 19:58:46 -05:00
parent e4c4643678
commit 3378272a19
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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);