Always use {} for statements

This commit is contained in:
yueh
2015-12-24 02:11:17 +01:00
parent 4a486673f6
commit 2e51ea5f78
12 changed files with 76 additions and 0 deletions
@@ -63,7 +63,9 @@ public class ItemPaintBall extends AEBaseItem
final ItemStack stack )
{
if( ItemPaintBall.this.isLumen( stack ) )
{
return sloc;
}
return loc;
}
@@ -231,7 +231,9 @@ public class ItemFacade extends AEBaseItem implements IFacadeItem, IAlphaPassIte
if( data.hasKey( "modid" ) && data.hasKey( "itemname" ) )
{
if( data.getString( "modid" ).equals( "minecraft" ) )
{
return Block.getBlockFromName( data.getString( "itemname" ) );
}
return GameRegistry.findBlock( data.getString( "modid" ), data.getString( "itemname" ) );
}