Merge branch 'development' of https://github.com/aidancbrady/Mekanism into development

This commit is contained in:
Aidan C. Brady 2014-01-22 07:43:34 -05:00
commit e11a79b3c3
4 changed files with 19 additions and 5 deletions

View file

@ -82,9 +82,15 @@ public class MekanismRenderer
{ {
if(gas instanceof OreGas) if(gas instanceof OreGas)
{ {
if(gas.getUnlocalizedName().contains("clean"))
{
gas.setIcon(event.map.registerIcon("mekanism:LiquidCleanOre"));
}
else {
gas.setIcon(event.map.registerIcon("mekanism:LiquidOre")); gas.setIcon(event.map.registerIcon("mekanism:LiquidOre"));
} }
} }
}
FluidRegistry.getFluid("brine").setIcons(event.map.registerIcon("mekanism:LiquidBrine")); FluidRegistry.getFluid("brine").setIcons(event.map.registerIcon("mekanism:LiquidBrine"));
} }

View file

@ -461,13 +461,16 @@ public abstract class PartSidedPipe extends TMultiPart implements TSlottedPart,
} }
} }
onRefresh();
if(!world().isRemote) if(!world().isRemote)
{ {
currentTransmitterConnections = possibleTransmitters; currentTransmitterConnections = possibleTransmitters;
currentAcceptorConnections = possibleAcceptors; currentAcceptorConnections = possibleAcceptors;
}
onRefresh();
if(!world().isRemote)
{
sendDesc = true; sendDesc = true;
} }
} }
@ -611,7 +614,7 @@ public abstract class PartSidedPipe extends TMultiPart implements TSlottedPart,
public boolean canConnectToAcceptor(ForgeDirection side, boolean ignoreActive) public boolean canConnectToAcceptor(ForgeDirection side, boolean ignoreActive)
{ {
if(!isValidAcceptor(Coord4D.get(tile()).getFromSide(side).getTileEntity(world()), side)) if(!isValidAcceptor(Coord4D.get(tile()).getFromSide(side).getTileEntity(world()), side) || !connectionMapContainsSide(currentAcceptorConnections, side))
{ {
return false; return false;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,5 @@
{
"animation": {
"frametime": 2
}
}