Fixed VirtualInventory DROP_ONE_SLOT and PICKUP_ONE

This commit is contained in:
NichtStudioCode 2021-06-04 21:15:42 +02:00
parent 88bca58c54
commit 793a8c28da

@ -97,7 +97,7 @@ public abstract class BaseGUI implements GUI {
case DROP_ONE_SLOT:
case PICKUP_ONE:
cancel = virtualInventory.setItemAmount(updateReason, slot, -1) != -1;
cancel = virtualInventory.addItemAmount(updateReason, slot, -1) != -1;
break;
case DROP_ALL_SLOT: