This commit is contained in:
Vincent Lee committed 2017-04-10 18:53:00 -05:00
1 parent a0dfbe6524
commit 187d74ac1e
2 files changed
+7 -1

No files matched your search

@@ -171,6 +171,7 @@ public class TileAltar extends TileSimpleInventory implements IPetalApothecary {
break;
lastRecipe.add(stack.copy());
}
recipeKeepTicks = 400;
world.addBlockEvent(getPos(), ModBlocks.altar, SET_KEEP_TICKS_EVENT, 400);
}
@@ -260,7 +261,11 @@ public class TileAltar extends TileSimpleInventory implements IPetalApothecary {
if(recipeKeepTicks > 0)
--recipeKeepTicks;
else lastRecipe = null;
else {
if (lastRecipe != null)
System.out.println("Cleared it");
lastRecipe = null;
}
}
@Override
@@ -190,6 +190,7 @@ public class TileRuneAltar extends TileSimpleInventory implements IManaReceiver
break;
lastRecipe.add(stack.copy());
}
recipeKeepTicks = 400;
world.addBlockEvent(getPos(), ModBlocks.runeAltar, SET_KEEP_TICKS_EVENT, 400);
}