mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Merge pull request #984 from Lazersmoke/patch-2
Added check for water when setting last recipe
This commit is contained in:
commit
b5600c100f
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;
|
||||
|
||||
Reference in new issue
Block a user