Changed access to use this qualifier
This commit is contained in:
@@ -45,11 +45,11 @@ public class BlockMatrixFrame extends AEBaseBlock implements ICustomCollision
|
||||
public BlockMatrixFrame()
|
||||
{
|
||||
super( BlockMatrixFrame.class, Material.anvil );
|
||||
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
setResistance( 6000000.0F );
|
||||
setBlockUnbreakable();
|
||||
setLightOpacity( 0 );
|
||||
isOpaque = false;
|
||||
this.setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
this.setResistance( 6000000.0F );
|
||||
this.setBlockUnbreakable();
|
||||
this.setLightOpacity( 0 );
|
||||
this.isOpaque = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -36,14 +36,14 @@ public class BlockSpatialIOPort extends AEBaseBlock
|
||||
|
||||
public BlockSpatialIOPort() {
|
||||
super( BlockSpatialIOPort.class, Material.iron );
|
||||
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
setTileEntity( TileSpatialIOPort.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
this.setTileEntity( TileSpatialIOPort.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void onNeighborBlockChange(World w, int x, int y, int z, Block junk)
|
||||
{
|
||||
TileSpatialIOPort te = getTileEntity( w, x, y, z );
|
||||
TileSpatialIOPort te = this.getTileEntity( w, x, y, z );
|
||||
if ( te != null )
|
||||
te.updateRedstoneState();
|
||||
}
|
||||
@@ -54,7 +54,7 @@ public class BlockSpatialIOPort extends AEBaseBlock
|
||||
if ( p.isSneaking() )
|
||||
return false;
|
||||
|
||||
TileSpatialIOPort tg = getTileEntity( w, x, y, z );
|
||||
TileSpatialIOPort tg = this.getTileEntity( w, x, y, z );
|
||||
if ( tg != null )
|
||||
{
|
||||
if ( Platform.isServer() )
|
||||
|
||||
@@ -35,14 +35,14 @@ public class BlockSpatialPylon extends AEBaseBlock
|
||||
|
||||
public BlockSpatialPylon() {
|
||||
super( BlockSpatialPylon.class, AEGlassMaterial.instance );
|
||||
setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
setTileEntity( TileSpatialPylon.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.SpatialIO ) );
|
||||
this.setTileEntity( TileSpatialPylon.class );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onNeighborBlockChange(World w, int x, int y, int z, Block junk)
|
||||
{
|
||||
TileSpatialPylon tsp = getTileEntity( w, x, y, z );
|
||||
TileSpatialPylon tsp = this.getTileEntity( w, x, y, z );
|
||||
if ( tsp != null )
|
||||
tsp.onNeighborBlockChange();
|
||||
}
|
||||
@@ -50,7 +50,7 @@ public class BlockSpatialPylon extends AEBaseBlock
|
||||
@Override
|
||||
public int getLightValue(IBlockAccess w, int x, int y, int z)
|
||||
{
|
||||
TileSpatialPylon tsp = getTileEntity( w, x, y, z );
|
||||
TileSpatialPylon tsp = this.getTileEntity( w, x, y, z );
|
||||
if ( tsp != null )
|
||||
return tsp.getLightValue();
|
||||
return super.getLightValue( w, x, y, z );
|
||||
|
||||
Reference in New Issue
Block a user