mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-29 08:26:37 +01:00
Fix hopper minecart being unable to pick up item entities on top of the saw. Remove item handler capability from bottom of saw to achieve this. It is unlocigal logistical components could access the saw from the bottom anyways.
This commit is contained in:
parent
25bce3fc17
commit
e493ab9ce1
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ public class SawTileEntity extends BlockBreakingKineticTileEntity {
|
|||
|
||||
@Override
|
||||
public <T> LazyOptional<T> getCapability(Capability<T> cap, Direction side) {
|
||||
if (cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY)
|
||||
if (cap == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY && side != Direction.DOWN)
|
||||
return invProvider.cast();
|
||||
return super.getCapability(cap, side);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue