diff --git a/src/main/java/com/simibubi/create/content/logistics/item/filter/attribute/BookCopyAttribute.java b/src/main/java/com/simibubi/create/content/logistics/item/filter/attribute/BookCopyAttribute.java index d31d87383..88a3c7c87 100644 --- a/src/main/java/com/simibubi/create/content/logistics/item/filter/attribute/BookCopyAttribute.java +++ b/src/main/java/com/simibubi/create/content/logistics/item/filter/attribute/BookCopyAttribute.java @@ -56,6 +56,11 @@ public class BookCopyAttribute implements ItemAttribute { return new BookCopyAttribute(nbt.getInt("generation")); } + @Override + public String getNBTKey() { + return "book_copy"; + } + private int extractGeneration(ItemStack stack) { CompoundTag nbt = stack.getTag(); if (nbt != null && stack.getItem() instanceof WrittenBookItem) {