Added check for water when setting last recipe

closes #979
This commit is contained in:
Sam Quinn committed 2015-05-16 18:46:17 -05:00
1 parent 7a144f3fcd
commit de6eb80e00
1 file changed
+1 -1
@@ -153,7 +153,7 @@ public class TileAltar extends TileSimpleInventory implements ISidedInventory, I
}
public static void tryToSetLastRecipe(EntityPlayer player, IInventory inv, List<ItemStack> lastRecipe) {
if(lastRecipe == null || lastRecipe.isEmpty() || player.worldObj.isRemote)
if(lastRecipe == null || lastRecipe.isEmpty() || !hasWater || player.worldObj.isRemote)
return;
int index = 0;