diff --git a/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemFocus.java b/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemFocus.java index bc3af022b1..424eccadc3 100644 --- a/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemFocus.java +++ b/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemFocus.java @@ -50,7 +50,7 @@ public boolean writeable(ItemStack stack) { @Override public boolean canWrite(ItemStack stack, Iota datum) { - return datum == null || !NBTHelper.getBoolean(stack, TAG_SEALED); + return datum == null || !isSealed(stack); } @Override diff --git a/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemThoughtKnot.java b/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemThoughtKnot.java index da1a2631fc..9e867cc250 100644 --- a/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemThoughtKnot.java +++ b/Common/src/main/java/at/petrak/hexcasting/common/items/storage/ItemThoughtKnot.java @@ -39,7 +39,7 @@ public boolean writeable(ItemStack stack) { @Override public boolean canWrite(ItemStack stack, @Nullable Iota iota) { - return iota != null && !NBTHelper.contains(stack, TAG_DATA); + return iota != null && writeable(stack); } @Override