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
+4 -4
View File
@@ -246,15 +246,15 @@ public abstract class AEBaseInvTile extends AEBaseTile implements ISidedInventor
{
if( facing == null )
{
if( itemHandler == null )
if( this.itemHandler == null )
{
itemHandler = new InvWrapper( getInternalInventory() );
this.itemHandler = new InvWrapper( this.getInternalInventory() );
}
return (T) itemHandler;
return (T) this.itemHandler;
}
else
{
return (T) sidedItemHandler.computeIfAbsent( facing, side -> new SidedInvWrapper( this, side ) );
return (T) this.sidedItemHandler.computeIfAbsent( facing, side -> new SidedInvWrapper( this, side ) );
}
}
return super.getCapability( capability, facing );