mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fixed Lazersmoke's mess.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user