From ec0afd3ab03aac4bafd8caac80397c1f12cfa380 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Sun, 18 Oct 2015 01:28:32 +0100 Subject: [PATCH] Phantom Ink and Timless Ivy can no longer be applied to items that have a container item to prevent dupes. Closes #1453 --- .../vazkii/botania/common/crafting/recipe/PhantomInkRecipe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/vazkii/botania/common/crafting/recipe/PhantomInkRecipe.java b/src/main/java/vazkii/botania/common/crafting/recipe/PhantomInkRecipe.java index c9bfb6545..0f1a07722 100644 --- a/src/main/java/vazkii/botania/common/crafting/recipe/PhantomInkRecipe.java +++ b/src/main/java/vazkii/botania/common/crafting/recipe/PhantomInkRecipe.java @@ -30,7 +30,7 @@ public class PhantomInkRecipe implements IRecipe { if(stack.getItem() == ModItems.phantomInk && !foundInk) foundInk = true; else if(!foundItem) { - if(stack.getItem() instanceof IPhantomInkable) + if(stack.getItem() instanceof IPhantomInkable && stack.getItem().getContainerItem(stack) == null) foundItem = true; else return false; } else return false;