Fix side color thingy!

This commit is contained in:
Aidan Brady 2013-11-04 21:27:41 -05:00
parent 1ff600b4a9
commit 88d0d3125e

View file

@ -157,7 +157,8 @@ public final class TransporterUtils
if(tileEntity instanceof IConfigurable) if(tileEntity instanceof IConfigurable)
{ {
IConfigurable config = (IConfigurable)tileEntity; IConfigurable config = (IConfigurable)tileEntity;
EnumColor configColor = config.getEjector().getInputColor(ForgeDirection.getOrientation(side).getOpposite()); int tileSide = config.getOrientation();
EnumColor configColor = config.getEjector().getInputColor(ForgeDirection.getOrientation(MekanismUtils.getBaseOrientation(side, tileSide)).getOpposite());
if(configColor != null && configColor != color) if(configColor != null && configColor != color)
{ {