Always use {} for control statements

This commit is contained in:
yueh
2017-07-20 21:24:58 +02:00
parent 406013142e
commit f9cad0758d
7 changed files with 32 additions and 0 deletions
@@ -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];
}