Always use qualified access for fields and methods

This commit is contained in:
yueh
2017-07-20 21:27:22 +02:00
parent f9cad0758d
commit 15582fd1df
211 changed files with 1086 additions and 1086 deletions
@@ -105,7 +105,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
{
final TileCableBus tcb = (TileCableBus) BlockCableBus.getTesrTile().newInstance();
tcb.copyFrom( this );
this.getWorld().setTileEntity( pos, tcb );
this.getWorld().setTileEntity( this.pos, tcb );
}
catch( final Throwable ignored )
{
@@ -388,7 +388,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
// Note that null will be translated to INTERNAL here
AEPartLocation partLocation = AEPartLocation.fromFacing( fromSide );
IPart part = getPart( partLocation );
IPart part = this.getPart( partLocation );
boolean result = part != null && part.hasCapability( capabilityClass );
return result || super.hasCapability( capabilityClass, fromSide );
@@ -400,7 +400,7 @@ public class TileCableBus extends AEBaseTile implements AEMultiTile, ICustomColl
// Note that null will be translated to INTERNAL here
AEPartLocation partLocation = AEPartLocation.fromFacing( fromSide );
IPart part = getPart( partLocation );
IPart part = this.getPart( partLocation );
T result = part == null ? null : part.getCapability( capabilityClass );
if( result != null )