Changed SendWareHouseWithDrawList playerIU addModifiedItem logic.

This commit is contained in:
MobiusDevelopment 2023-11-01 00:50:57 +02:00
parent fa55bad6a0
commit 6a0a4be1ea

View File

@ -179,7 +179,7 @@ public class SendWareHouseWithDrawList implements ClientPacket
return;
}
if (newItem.getCount() > i.getCount())
if (newItem.isStackable() && !player.getInventory().getAllItemsByItemId(newItem.getId()).isEmpty())
{
playerIU.addModifiedItem(newItem);
}