mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Fix #1460 Empty bucket can't be pulled out of (i.e.) Biogas engine
This commit is contained in:
1 parent
3f07e68952
commit
b7eaaf6804
1 file changed
+6
-1
@@ -11,7 +11,7 @@
|
||||
package forestry.energy.inventory;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraftforge.fluids.FluidStack;
|
||||
import net.minecraftforge.fluids.FluidUtil;
|
||||
|
||||
@@ -25,6 +25,11 @@ public class InventoryEngineBiogas extends InventoryAdapterTile<TileEngineBiogas
|
||||
super(engineBronze, 1, "Items");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canExtractItem(int slotIndex, ItemStack stack, EnumFacing side) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canSlotAccept(int slotIndex, ItemStack itemStack) {
|
||||
if (slotIndex == SLOT_CAN) {
|
||||
|
||||
Reference in new issue
Block a user