Update BlockOilStill.java

Fix quick bug that Flow86 pointed out.
This commit is contained in:
TarzanBuzzyMan 2013-03-27 23:48:56 +13:00
parent 7280fa7165
commit 9baae232e3

View file

@ -50,5 +50,17 @@ public class BlockOilStill extends BlockStationary implements ILiquid {
public boolean isBlockReplaceable(World world, int i, int j, int k) {
return true;
}
@Override
@SideOnly(Side.CLIENT)
public void registerIcons(IconRegister iconRegister){
this.field_94425_a = new Icon[] {iconRegister.registerIcon("buildcraft:oil"), iconRegister.registerIcon("buildcraft:oil_flow")};
}
@Override
@SideOnly(Side.CLIENT)
public Icon getBlockTextureFromSideAndMetadata(int par1, int par2) {
return par1 != 0 && par1 != 1 ? this.field_94425_a[1] : this.field_94425_a[0];
}
}