Fix being unable to connect logistical transporters to top of Bins

This commit is contained in:
pupnewfster committed 2019-03-29 19:55:21 -04:00
1 parent 8c276b6b1a
commit d7a0afdc60
1 file changed
+4 -2
@@ -28,8 +28,10 @@ public final class TransporterUtils {
return false;
}
if (tile instanceof TileEntityBin) {
//Special handling for bins that allows them to only be inserted into from the top
if (side != EnumFacing.UP) {
//Special handling to allow bins to only be connected to from the top and bottom by logistical transporters
//TODO: Strip this out when making the capability pass and only actually give the capabilities from the top
// and bottom. For the bottom one maybe even only give it "read only" access.
if (side != EnumFacing.DOWN && side != EnumFacing.UP) {
return false;
}
}