Always use {} for statements
This commit is contained in:
@@ -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" ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user