Inventory Stackable Items

Issue #199 invalid
Vampire created an issue

Hello everyone. I have found out that you can't pick up stackable items when inventory is full. For example Inventory is at 80/80 and i want to pick up Adena. It says inventory full...... I want to make it able to pick up stackable items when inventory is full. I tried adding a code in L2PCInstance at line 46365 and it looks like this:

if (!target.isStackable() || (_inventory.getItemByItemId(target.getId()) == null)) { sendPacket(SystemMessageId.SLOTS_FULL); return; }

but it didn't work. I would like to know how can i make it work ?

Comments (2)

  1. Log in to comment