Update BlockOilStill.java
Fix quick bug that Flow86 pointed out.
This commit is contained in:
parent
7280fa7165
commit
9baae232e3
1 changed files with 12 additions and 0 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue