final variables and parameters

seeing some methods it does actually help to enforce the parameters
This commit is contained in:
thatsIch
2015-09-25 23:10:56 +02:00
parent e52400bf26
commit 410d2f1e0d
819 changed files with 9390 additions and 9396 deletions
@@ -37,13 +37,13 @@ public class DefaultSpatialHandler implements IMovableHandler
* @return true
*/
@Override
public boolean canHandle( Class<? extends TileEntity> myClass, TileEntity tile )
public boolean canHandle( final Class<? extends TileEntity> myClass, final TileEntity tile )
{
return true;
}
@Override
public void moveTile( TileEntity te, World w, int x, int y, int z )
public void moveTile( final TileEntity te, final World w, final int x, final int y, final int z )
{
te.setWorldObj( w );
@@ -51,7 +51,7 @@ public class DefaultSpatialHandler implements IMovableHandler
te.yCoord = y;
te.zCoord = z;
Chunk c = w.getChunkFromBlockCoords( x, z );
final Chunk c = w.getChunkFromBlockCoords( x, z );
c.func_150812_a( x & 0xF, y, z & 0xF, te );
// c.setChunkBlockTileEntity( x & 0xF, y, z & 0xF, te );