Fixes inventory behaviour with stackable empty shulker boxes. fixes #1048

This commit is contained in:
gnembon committed 2021-08-08 23:08:14 -03:00
1 parent 7fb5e47da5
commit 16f3832d16
3 files changed
+35 -1

No files matched your search

@@ -16,7 +16,7 @@ public class Slot_stackableSBoxesMixin {
value = "INVOKE",
target = "Lnet/minecraft/screen/slot/Slot;getMaxItemCount(Lnet/minecraft/item/ItemStack;)I"
))
private int getMaxCountForSboxes(Slot slot, ItemStack stack)
private int getMaxCountForSboxesInSlot(Slot slot, ItemStack stack)
{
if (CarpetSettings.stackableShulkerBoxes &&
stack.getItem() instanceof BlockItem &&