Always use qualified access for fields and methods
This commit is contained in:
@@ -418,7 +418,7 @@ public class CachedPlane
|
||||
|
||||
private void setBlockIDWithMetadata( final int y, final Object[] blk )
|
||||
{
|
||||
if( blk[0] == matrixBlockState )
|
||||
if( blk[0] == CachedPlane.this.matrixBlockState )
|
||||
{
|
||||
blk[0] = Platform.AIR_BLOCK.getDefaultState();
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class StorageChunkProvider extends ChunkGeneratorOverworld
|
||||
biomes[k] = biomeId;
|
||||
}
|
||||
|
||||
AEApi.instance().definitions().blocks().matrixFrame().maybeBlock().ifPresent( block -> fillChunk( chunk, block.getDefaultState() ) );
|
||||
AEApi.instance().definitions().blocks().matrixFrame().maybeBlock().ifPresent( block -> this.fillChunk( chunk, block.getDefaultState() ) );
|
||||
|
||||
chunk.setModified( false );
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ public class StorageHelper
|
||||
for( Entity passanger : passangers )
|
||||
{
|
||||
passanger.dismountRidingEntity();
|
||||
passangersOnOtherSide.add( teleportEntity( passanger, link ) );
|
||||
passangersOnOtherSide.add( this.teleportEntity( passanger, link ) );
|
||||
}
|
||||
// We keep track of all so we can remount them on the other side.
|
||||
}
|
||||
|
||||
@@ -44,8 +44,8 @@ public class StorageWorldProvider extends WorldProvider
|
||||
public StorageWorldProvider()
|
||||
{
|
||||
this.hasSkyLight = true;
|
||||
biome = AppEng.instance().getRegistration().getStorageBiome();
|
||||
this.biomeProvider = new BiomeProviderSingle( biome );
|
||||
this.biome = AppEng.instance().getRegistration().getStorageBiome();
|
||||
this.biomeProvider = new BiomeProviderSingle( this.biome );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -155,7 +155,7 @@ public class StorageWorldProvider extends WorldProvider
|
||||
@Override
|
||||
public Biome getBiomeForCoords( BlockPos pos )
|
||||
{
|
||||
return biome;
|
||||
return this.biome;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user