Right clicking a Petal Apothecary or Runic Altar with an empty hand after a recipe is completed places the components of that recipe from your inventory into the block again for another crafting.

This commit is contained in:
Lizbeth Rika committed 2015-05-15 13:14:47 +01:00
1 parent 62107c26ec
commit f92eb3df3b
6 files changed
+125 -10

No files matched your search

@@ -115,7 +115,9 @@ public class BlockAltar extends BlockModContainer implements ILexiconable {
break;
}
}
} else {
} else if(tile.isEmpty() && stack == null)
tile.trySetLastRecipe(par5EntityPlayer);
else {
if(stack != null && (isValidWaterContainer(stack) || stack.getItem() == ModItems.waterRod && ManaItemHandler.requestManaExact(stack, par5EntityPlayer, ItemWaterRod.COST, false))) {
if(!tile.hasWater) {
if(stack.getItem() == ModItems.waterRod)