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
@@ -82,7 +82,9 @@ public class TileItemGen extends AEBaseTile implements IInventory
// Safeguard for crash
ItemStack testStack = POSSIBLE_ITEMS.peek();
if( testStack.isEmpty() )
{
testStack = new ItemStack( Blocks.COBBLESTONE, 1 );
}
return testStack;
}