Changed SendWareHouseWithDrawList playerIU addModifiedItem logic.
This commit is contained in:
parent
fa55bad6a0
commit
6a0a4be1ea
@ -179,7 +179,7 @@ public class SendWareHouseWithDrawList implements ClientPacket
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newItem.getCount() > i.getCount())
|
if (newItem.isStackable() && !player.getInventory().getAllItemsByItemId(newItem.getId()).isEmpty())
|
||||||
{
|
{
|
||||||
playerIU.addModifiedItem(newItem);
|
playerIU.addModifiedItem(newItem);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user