final variables and parameters
seeing some methods it does actually help to enforce the parameters
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user