Browse Source

cant delete disc runes

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
cd45f49b07
  1. 4
      src/engine/net/client/ClientMessagePump.java

4
src/engine/net/client/ClientMessagePump.java

@ -570,6 +570,10 @@ public class ClientMessagePump implements NetMsgHandler {
if (!itemManager.inventoryContains(i)) if (!itemManager.inventoryContains(i))
return; return;
//temporarily disable deleting disc runes
if(i.getItemBase().isDiscRune())
return;
if (i.canDestroy) { if (i.canDestroy) {
if (itemManager.delete(i) == true) { if (itemManager.delete(i) == true) {
int value = i.getItemBase().value; int value = i.getItemBase().value;

Loading…
Cancel
Save