Phantom Ink and Timless Ivy can no longer be applied to items that have a container item to prevent dupes. Closes #1453

This commit is contained in:
Vasco Lavos committed 2015-10-18 01:28:32 +01:00
1 parent 00d8b321f9
commit ec0afd3ab0
1 file changed
+1 -1
@@ -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;