Puts everywhere brackets
This commit is contained in:
@@ -54,8 +54,12 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
|
||||
public boolean isEmpty()
|
||||
{
|
||||
for( int x = 0; x < this.size; x++ )
|
||||
{
|
||||
if( this.getStackInSlot( x ) != null )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -101,7 +105,9 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
|
||||
{
|
||||
NBTTagCompound c = data.getCompoundTag( name );
|
||||
if( c != null )
|
||||
{
|
||||
this.readFromNBT( c );
|
||||
}
|
||||
}
|
||||
|
||||
public void readFromNBT( NBTTagCompound target )
|
||||
@@ -113,7 +119,9 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
|
||||
NBTTagCompound c = target.getCompoundTag( "#" + x );
|
||||
|
||||
if( c != null )
|
||||
{
|
||||
this.inv[x] = AEItemStack.loadItemStackFromNBT( c );
|
||||
}
|
||||
}
|
||||
catch( Exception e )
|
||||
{
|
||||
@@ -132,7 +140,9 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
|
||||
public ItemStack getStackInSlot( int var1 )
|
||||
{
|
||||
if( this.inv[var1] == null )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return this.inv[var1].getItemStack();
|
||||
}
|
||||
@@ -151,7 +161,9 @@ public class AppEngInternalAEInventory implements IInventory, Iterable<ItemStack
|
||||
this.inv[slot] = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
ns = split.splitStack( qty );
|
||||
}
|
||||
|
||||
if( this.te != null && Platform.isServer() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user