mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 03:49:07 +00:00
Fixed shitf-click stack overflow #180
This commit is contained in:
1 parent
62fc457808
commit
f3d93b47b9
1 file changed
+7
@@ -3,9 +3,11 @@ package binnie.extrabees.client.gui;
|
||||
import javax.annotation.Nonnull;
|
||||
import java.awt.Dimension;
|
||||
|
||||
import forestry.core.utils.SlotUtil;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import net.minecraftforge.items.IItemHandlerModifiable;
|
||||
@@ -53,4 +55,9 @@ public abstract class AbstractAlvearyContainer extends Container {
|
||||
public boolean canInteractWith(@Nonnull EntityPlayer playerIn) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index) {
|
||||
return SlotUtil.transferStackInSlot(this.inventorySlots, playerIn, index);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user