Puts everywhere brackets

This commit is contained in:
thatsIch
2015-04-29 02:30:53 +02:00
parent 23aa8fd72d
commit 64ed05a1b4
465 changed files with 6726 additions and 14 deletions
@@ -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() )
{