Fix rubber log texture names and fix treetap texture

This commit is contained in:
TheDoctorSoda 2016-02-21 13:32:03 -08:00
parent c8d43d9c69
commit b643162dad
5 changed files with 7 additions and 4 deletions

View file

@ -87,14 +87,14 @@ public class BlockRubberLog extends Block implements ITexturedBlock {
@Override
public String getTextureNameFromState(IBlockState iBlockState, EnumFacing enumFacing) {
if(enumFacing == EnumFacing.DOWN || enumFacing == EnumFacing.UP){
return "techreborn:blocks/rubber_log_side";
return "techreborn:blocks/rubber_log_top";
}
if(iBlockState.getValue(HAS_SAP)){
if(iBlockState.getValue(SAP_SIDE) == enumFacing){
return "techreborn:blocks/rubber_log_sap";
}
}
return "techreborn:blocks/rubber_log";
return "techreborn:blocks/rubber_log_side";
}
@Override