final variables and parameters
This commit is contained in:
@@ -42,18 +42,18 @@ public class TESRWrapper extends TileEntitySpecialRenderer
|
||||
private final BaseBlockRender blkRender;
|
||||
private final double maxDistance;
|
||||
|
||||
public TESRWrapper( BaseBlockRender render )
|
||||
public TESRWrapper( final BaseBlockRender render )
|
||||
{
|
||||
this.blkRender = render;
|
||||
this.maxDistance = this.blkRender.getTesrRenderDistance();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void renderTileEntityAt( TileEntity te, double x, double y, double z, float f, int something )
|
||||
public final void renderTileEntityAt( final TileEntity te, final double x, final double y, final double z, final float f, final int something )
|
||||
{
|
||||
if( te instanceof AEBaseTile )
|
||||
{
|
||||
Block b = te.getBlockType();
|
||||
final Block b = te.getBlockType();
|
||||
|
||||
if( b instanceof AEBaseBlock && ( (AEBaseTile) te ).requiresTESR() )
|
||||
{
|
||||
@@ -62,7 +62,7 @@ public class TESRWrapper extends TileEntitySpecialRenderer
|
||||
return;
|
||||
}
|
||||
|
||||
Tessellator tess = Tessellator.getInstance();
|
||||
final Tessellator tess = Tessellator.getInstance();
|
||||
|
||||
try
|
||||
{
|
||||
@@ -73,7 +73,7 @@ public class TESRWrapper extends TileEntitySpecialRenderer
|
||||
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
catch( Throwable t )
|
||||
catch( final Throwable t )
|
||||
{
|
||||
AELog.severe( "Hi, Looks like there was a crash while rendering something..." );
|
||||
t.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user