Skip to content

Commit

Permalink
Fixed #117
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Aug 13, 2023
1 parent 3f8251b commit 6d1c8df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ private void signBook(FilteredText filteredtext, List<FilteredText> list, int i)
this.updateBookPages(list, (s) -> {
return Component.Serializer.toJson(Component.literal(s));
}, itemstack1); // CraftBukkit
this.player.getInventory().setItem(i, itemstack); // CraftBukkit - event factory updates the hand book
this.player.getInventory().setItem(i, CraftEventFactory.handleEditBookEvent(this.player, i, itemstack, itemstack1)); // CraftBukkit - event factory updates the hand book
}
}

Expand Down

0 comments on commit 6d1c8df

Please sign in to comment.