Side config fixes

This commit is contained in:
aidancbrady committed 2016-03-27 21:19:54 -04:00
1 parent 1f0895322b
commit 65a7469433
2 files changed
+44 -5

No files matched your search

@@ -67,9 +67,11 @@ public class TileComponentConfig implements ITileComponent
for(byte b = 0; b < 6; b++)
{
if(getConfig(type)[b] == dataIndex)
int side = MekanismUtils.getBaseOrientation(b, facing);
if(getConfig(type)[side] == dataIndex)
{
ret.add(ForgeDirection.getOrientation(MekanismUtils.getBaseOrientation(b, facing)));
ret.add(ForgeDirection.getOrientation(b));
}
}