final variables and parameters

This commit is contained in:
thatsIch
2015-09-30 14:24:40 +02:00
parent 059523f543
commit 8b3a954f73
732 changed files with 9253 additions and 9256 deletions
@@ -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();