mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Fixes #4560
This commit is contained in:
1 parent
9b93a56c95
commit
e3de87ff45
1 file changed
+2
-1
@@ -83,7 +83,8 @@ public class TileComponentConfig implements ITileComponent
|
||||
|
||||
public boolean hasSideForData(TransmissionType type, EnumFacing facing, int dataIndex, EnumFacing sideToTest)
|
||||
{
|
||||
return getConfig(type).get(sideToTest) == dataIndex;
|
||||
EnumFacing[] translatedFacings = MekanismUtils.getBaseOrientations(facing);
|
||||
return getConfig(type).get(translatedFacings[sideToTest.ordinal()]) == dataIndex;
|
||||
}
|
||||
|
||||
public void setCanEject(TransmissionType type, boolean eject)
|
||||
|
||||
Reference in new issue
Block a user