EssentialsX

EssentialsX

2M Downloads

Books in book.txt do not work

FishbirdDD opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

https://essentialsx.net/dump.html?id=377206bc9a9649cd8d67b0685541bdf8

Error log (if applicable)

No response

Bug description

When giving myself a book defined in book.txt, it says "invalid book tag".

Book.txt:
#starter
This is the starter book

Command:
/i writtenbook 1 book:starter

Result:
image

However, if I give myself a writable book instead, the text shows (typing /book switches it back and forth between a written and writable book, and the text switches back and forth between the intended text and "invalid book tag").
image

Thanks!

Steps to reproduce

  1. Define a book in book.txt
  2. Use the command /give <player> writtenbook 1 book:<bookname>
  3. Observe the "invalid book tag" error

Expected behaviour

The text will show

Actual behaviour

The "invalid book tag" error shows

commented

Confirmed on 2.20.0-dev+5-d891268