remove trailing whitespaces
This commit is contained in:
@@ -40,7 +40,7 @@ public class ConfigManager implements IConfigManager
|
||||
|
||||
/**
|
||||
* read all settings using config manager.
|
||||
*
|
||||
*
|
||||
* @param tagCompound to be read from compound
|
||||
*/
|
||||
@Override
|
||||
@@ -77,7 +77,7 @@ public class ConfigManager implements IConfigManager
|
||||
|
||||
/**
|
||||
* save all settings using config manager.
|
||||
*
|
||||
*
|
||||
* @param tagCompound to be written to compound
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -66,9 +66,9 @@ public abstract class InventoryAdaptor implements Iterable<ItemSlot>
|
||||
{
|
||||
if ( te == null )
|
||||
return null;
|
||||
|
||||
|
||||
IBetterStorage bs = (IBetterStorage) (AppEng.instance.isIntegrationEnabled( IntegrationType.BetterStorage ) ? AppEng.instance.getIntegration( IntegrationType.BetterStorage ) : null);
|
||||
|
||||
|
||||
if ( te instanceof EntityPlayer )
|
||||
{
|
||||
return new AdaptorIInventory( new AdaptorPlayerInventory( ((EntityPlayer) te).inventory, false ) );
|
||||
|
||||
@@ -167,7 +167,7 @@ public class Platform
|
||||
|
||||
/**
|
||||
* This displays the value for encoded longs ( double *100 )
|
||||
*
|
||||
*
|
||||
* @param n to be formatted long value
|
||||
* @param isRate if true it adds a /t to the formatted string
|
||||
* @return formatted long value
|
||||
@@ -1212,13 +1212,13 @@ public class Platform
|
||||
|
||||
/*
|
||||
* // test ore dictionary.. int OreID = getOreID( a ); if ( OreID != -1 ) return OreID == getOreID( b );
|
||||
*
|
||||
*
|
||||
* if ( Mode != FuzzyMode.IGNORE_ALL ) { if ( a.hasTagCompound() && !isShared( a.getTagCompound() ) ) { a =
|
||||
* Platform.getSharedItemStack( AEItemStack.create( a ) ); }
|
||||
*
|
||||
*
|
||||
* if ( b.hasTagCompound() && !isShared( b.getTagCompound() ) ) { b = Platform.getSharedItemStack(
|
||||
* AEItemStack.create( b ) ); }
|
||||
*
|
||||
*
|
||||
* // test regular items with damage values and what not... if ( isShared( a.getTagCompound() ) && isShared(
|
||||
* b.getTagCompound() ) && a.itemID == b.itemID ) { return ((AppEngSharedNBTTagCompound)
|
||||
* a.getTagCompound()).compareFuzzyWithRegistry( (AppEngSharedNBTTagCompound) b.getTagCompound() ); } }
|
||||
|
||||
@@ -237,11 +237,11 @@ public class AdaptorIInventory extends InventoryAdaptor
|
||||
|
||||
/**
|
||||
* Adds an {@link ItemStack} to the adapted {@link IInventory}.
|
||||
*
|
||||
*
|
||||
* It respects the inventories stack limit, which can result in not all items added and some left ones are returned.
|
||||
* The ItemStack next is required for inventories, which will fail on isItemValidForSlot() for stacksizes larger
|
||||
* than the limit.
|
||||
*
|
||||
*
|
||||
* @param itemsToAdd itemStack to add to the inventory
|
||||
* @param modulate true to modulate, false for simulate
|
||||
*
|
||||
|
||||
@@ -31,12 +31,12 @@ public class AdaptorPlayerInventory implements IInventory
|
||||
|
||||
public AdaptorPlayerInventory(IInventory playerInv, boolean swap)
|
||||
{
|
||||
|
||||
|
||||
if ( swap )
|
||||
this.src = new WrapperChainedInventory( new WrapperInventoryRange( playerInv, 9, this.size -9, false ), new WrapperInventoryRange( playerInv, 0, 9, false ) );
|
||||
else
|
||||
this.src = playerInv;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -90,7 +90,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
|
||||
|
||||
/*
|
||||
* Super hackery.
|
||||
*
|
||||
*
|
||||
* is.itemID = appeng.api.Materials.matQuartz.itemID; damageValue = is.getItemDamage(); is.itemID = itemID;
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user