We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87c81a commit 7686636Copy full SHA for 7686636
src/main/java/meteordevelopment/meteorclient/systems/modules/misc/BookBot.java
@@ -178,7 +178,7 @@ public void onActivate() {
178
private void onTick(TickEvent.Post event) {
179
Predicate<ItemStack> bookPredicate = i -> {
180
WritableBookContentComponent component = i.get(DataComponentTypes.WRITABLE_BOOK_CONTENT);
181
- return i.getItem() == Items.WRITABLE_BOOK && (component != null || component.pages().isEmpty());
+ return i.getItem() == Items.WRITABLE_BOOK && (component == null || component.pages().isEmpty());
182
};
183
184
FindItemResult writableBook = InvUtils.find(bookPredicate);
0 commit comments