Always use {} for control statements
This commit is contained in:
@@ -116,7 +116,9 @@ public class AppEngInternalInventory implements IInventory, Iterable<ItemStack>
|
||||
private ItemStack getOldStack( int slot )
|
||||
{
|
||||
if( this.inv[slot] == null )
|
||||
{
|
||||
return ItemStack.EMPTY;
|
||||
}
|
||||
|
||||
return this.inv[slot];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user