mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 10:55:17 +00:00
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:
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;
|
||||
|
||||
Reference in new issue
Block a user