Always use qualified access for fields and methods
This commit is contained in:
@@ -1285,15 +1285,15 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
|
||||
{
|
||||
if( capabilityClass == CapabilityItemHandler.ITEM_HANDLER_CAPABILITY )
|
||||
{
|
||||
if( itemHandler == null )
|
||||
if( this.itemHandler == null )
|
||||
{
|
||||
itemHandler = new InvWrapper( storage );
|
||||
this.itemHandler = new InvWrapper( this.storage );
|
||||
}
|
||||
return (T) itemHandler;
|
||||
return (T) this.itemHandler;
|
||||
}
|
||||
else if( capabilityClass == Capabilities.STORAGE_MONITORABLE_ACCESSOR )
|
||||
{
|
||||
return (T) accessor;
|
||||
return (T) this.accessor;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -1346,7 +1346,7 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
|
||||
@Override
|
||||
public IStorageMonitorable getInventory( BaseActionSource src )
|
||||
{
|
||||
return getMonitorable( src, DualityInterface.this );
|
||||
return DualityInterface.this.getMonitorable( src, DualityInterface.this );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ public class MetaRotation implements IOrientable
|
||||
|
||||
if( this.facingProp != null )
|
||||
{
|
||||
return state.getValue( facingProp );
|
||||
return state.getValue( this.facingProp );
|
||||
}
|
||||
|
||||
// TODO 1.10.2-R - Temp
|
||||
@@ -96,9 +96,9 @@ public class MetaRotation implements IOrientable
|
||||
{
|
||||
if( this.w instanceof World )
|
||||
{
|
||||
if( facingProp != null )
|
||||
if( this.facingProp != null )
|
||||
{
|
||||
( (World) this.w ).setBlockState( this.pos, this.w.getBlockState( this.pos ).withProperty( facingProp, up ) );
|
||||
( (World) this.w ).setBlockState( this.pos, this.w.getBlockState( this.pos ).withProperty( this.facingProp, up ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user