mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 10:34:40 +00:00
Same fix for the Timeless Ivy.
This commit is contained in:
1 parent
11628851d5
commit
e36e7dc076
1 file changed
+2
-1
@@ -16,6 +16,7 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.IRecipe;
|
||||
import net.minecraft.world.World;
|
||||
import vazkii.botania.common.core.helper.ItemNBTHelper;
|
||||
import vazkii.botania.common.item.ItemKeepIvy;
|
||||
import vazkii.botania.common.item.ItemRegenIvy;
|
||||
import vazkii.botania.common.item.ModItems;
|
||||
|
||||
@@ -30,7 +31,7 @@ public class RegenIvyRecipe implements IRecipe {
|
||||
ItemStack stack = var1.getStackInSlot(i);
|
||||
if(stack != null) {
|
||||
Item item = stack.getItem();
|
||||
if(item.isRepairable())
|
||||
if(item.isRepairable() && !(ItemNBTHelper.detectNBT(stack) && ItemNBTHelper.getBoolean(stack, ItemRegenIvy.TAG_REGEN, false)))
|
||||
tool = stack;
|
||||
|
||||
else if(item == ModItems.regenIvy)
|
||||
|
||||
Reference in new issue
Block a user