Always use qualified access for fields and methods
This commit is contained in:
@@ -49,12 +49,12 @@ class LightBakedModel extends CraftingCubeBakedModel
|
||||
@Override
|
||||
protected void addInnerCube( EnumFacing facing, IBlockState state, CubeBuilder builder, float x1, float y1, float z1, float x2, float y2, float z2 )
|
||||
{
|
||||
builder.setTexture( baseTexture );
|
||||
builder.setTexture( this.baseTexture );
|
||||
builder.addCube( x1, y1, z1, x2, y2, z2 );
|
||||
|
||||
boolean powered = state.getValue( BlockCraftingUnit.POWERED );
|
||||
builder.setRenderFullBright( powered );
|
||||
builder.setTexture( lightTexture );
|
||||
builder.setTexture( this.lightTexture );
|
||||
builder.addCube( x1, y1, z1, x2, y2, z2 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user