Fixed detector textures when placed
This commit is contained in:
parent
373c9038e4
commit
52ac2fd2e8
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ import resonantinduction.mechanical.Mechanical;
|
||||||
public class TileDetector extends TileFilterable implements IPacketIDReceiver
|
public class TileDetector extends TileFilterable implements IPacketIDReceiver
|
||||||
{
|
{
|
||||||
private boolean powering = false;
|
private boolean powering = false;
|
||||||
IIcon front_red, front_green, side_green, side_red;
|
|
||||||
|
|
||||||
public TileDetector()
|
public TileDetector()
|
||||||
{
|
{
|
||||||
|
@ -177,7 +176,7 @@ public class TileDetector extends TileFilterable implements IPacketIDReceiver
|
||||||
isInverted = ((TileDetector) tileEntity).isInverted();
|
isInverted = ((TileDetector) tileEntity).isInverted();
|
||||||
}
|
}
|
||||||
|
|
||||||
return isInverted ? (isFront ? front_red : side_red) : (isFront ? front_green : side_green);
|
return isInverted ? (isFront ? SpatialBlock.icon().get("detector_front_red") : SpatialBlock.icon().get("detector_side_red")) : (isFront ? SpatialBlock.icon().get("detector_front_green") : SpatialBlock.icon().get("detector_side_green"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue