Fixed Lazersmoke's mess.

This commit is contained in:
Lizbeth Rika committed 2015-05-18 14:46:39 +01:00
1 parent b5600c100f
commit 03c7a20480
2 files changed
+2 -2

No files matched your search

@@ -115,7 +115,7 @@ public class BlockAltar extends BlockModContainer implements ILexiconable {
break;
}
}
} else if(tile.isEmpty() && stack == null)
} else if(tile.isEmpty() && tile.hasWater && stack == null)
tile.trySetLastRecipe(par5EntityPlayer);
else {
if(stack != null && (isValidWaterContainer(stack) || stack.getItem() == ModItems.waterRod && ManaItemHandler.requestManaExact(stack, par5EntityPlayer, ItemWaterRod.COST, false))) {
@@ -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() || !hasWater || player.worldObj.isRemote)
if(lastRecipe == null || lastRecipe.isEmpty() || player.worldObj.isRemote)
return;
int index = 0;