Fix facade recipes. Hopefully the last null check fix.

This commit is contained in:
Gunther De Wachter
2017-06-27 20:39:06 +02:00
parent b819fe4adb
commit 61b81fc802
52 changed files with 101 additions and 83 deletions
@@ -243,7 +243,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
{
final NBTTagCompound color = c.getCompoundTag( "color" );
final ItemStack oldColor = new ItemStack( color );
if( oldColor != null )
if( !oldColor.isEmpty() )
{
return oldColor;
}
@@ -289,7 +289,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
{
final ItemStack result = FurnaceRecipes.instance().getSmeltingResult( i );
if( result != null )
if( !result.isEmpty() )
{
if( result.getItem() instanceof ItemBlock )
{