this access
This commit is contained in:
parent
7f7c71a22e
commit
3143c871d0
3 changed files with 10 additions and 10 deletions
|
@ -66,7 +66,7 @@ public class BSCrateStorageAdaptor extends InventoryAdaptor
|
|||
{
|
||||
ItemStack f = Platform.cloneItemStack( target );
|
||||
f.stackSize = amount;
|
||||
return cs.extractItems( f, amount );
|
||||
return this.cs.extractItems( f, amount );
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
@ -122,7 +122,7 @@ public class MEInventoryHandler<T extends IAEStack<T>> implements IMEInventoryHa
|
|||
@Override
|
||||
public T extractItems( T request, Actionable type, BaseActionSource src )
|
||||
{
|
||||
if ( !hasReadAccess )
|
||||
if ( !this.hasReadAccess )
|
||||
return null;
|
||||
|
||||
return this.internal.extractItems( request, type, src );
|
||||
|
@ -131,7 +131,7 @@ public class MEInventoryHandler<T extends IAEStack<T>> implements IMEInventoryHa
|
|||
@Override
|
||||
public IItemList<T> getAvailableItems( IItemList<T> out )
|
||||
{
|
||||
if ( !hasReadAccess )
|
||||
if ( !this.hasReadAccess )
|
||||
return out;
|
||||
|
||||
return this.internal.getAvailableItems( out );
|
||||
|
@ -160,7 +160,7 @@ public class MEInventoryHandler<T extends IAEStack<T>> implements IMEInventoryHa
|
|||
@Override
|
||||
public boolean canAccept( T input )
|
||||
{
|
||||
if ( !hasWriteAccess )
|
||||
if ( !this.hasWriteAccess )
|
||||
return false;
|
||||
|
||||
if ( this.myWhitelist == IncludeExclude.BLACKLIST && this.myPartitionList.isListed( input ) )
|
||||
|
|
|
@ -82,7 +82,7 @@ public class OreHelper
|
|||
continue;
|
||||
}
|
||||
|
||||
for ( ItemStack oreItem : oreDictCache.getUnchecked( ore ) )
|
||||
for ( ItemStack oreItem : this.oreDictCache.getUnchecked( ore ) )
|
||||
{
|
||||
if ( OreDictionary.itemMatches( oreItem, ItemStack, false ) )
|
||||
{
|
||||
|
@ -141,7 +141,7 @@ public class OreHelper
|
|||
|
||||
for ( String oreName : a.getEquivalents() )
|
||||
{
|
||||
for ( ItemStack oreItem : oreDictCache.getUnchecked( oreName ) )
|
||||
for ( ItemStack oreItem : this.oreDictCache.getUnchecked( oreName ) )
|
||||
{
|
||||
if ( OreDictionary.itemMatches( oreItem, o, false ) )
|
||||
return true;
|
||||
|
@ -153,7 +153,7 @@ public class OreHelper
|
|||
|
||||
public List<ItemStack> getCachedOres( String oreName )
|
||||
{
|
||||
return oreDictCache.getUnchecked( oreName );
|
||||
return this.oreDictCache.getUnchecked( oreName );
|
||||
}
|
||||
|
||||
private static class ItemRef
|
||||
|
@ -196,9 +196,9 @@ public class OreHelper
|
|||
public String toString()
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append( "ItemRef [ref=" ).append( ref.getUnlocalizedName() )
|
||||
.append( ", damage=" ).append( damage ).append( ", hash=" )
|
||||
.append( hash ).append( "]" );
|
||||
builder.append( "ItemRef [ref=" ).append( this.ref.getUnlocalizedName() )
|
||||
.append( ", damage=" ).append( this.damage ).append( ", hash=" )
|
||||
.append( this.hash ).append( "]" );
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue