mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Fix #2243
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user