diff --git a/src/main/java/com/ruinscraft/bookverify/BookInteractListener.java b/src/main/java/com/ruinscraft/bookverify/BookInteractListener.java index c569a49..c652ec8 100755 --- a/src/main/java/com/ruinscraft/bookverify/BookInteractListener.java +++ b/src/main/java/com/ruinscraft/bookverify/BookInteractListener.java @@ -117,6 +117,7 @@ public void onBookInteract(PlayerInteractEvent event) { if (bvConfig.removeBookIfUnsigned) { player.getInventory().removeItem(itemStack); + event.setCancelled(true); } return; @@ -143,6 +144,7 @@ public void onBookInteract(PlayerInteractEvent event) { if (bvConfig.removeBookIfForged) { player.getInventory().removeItem(itemStack); + event.setCancelled(true); } } }