I just want to open a book with multiple pages
but I can't.
Error: 'page "Test" can't be added to {_BOOK} because the former is not an object'
I have no idea what I did wrong.
but I can't.
Code:
Command /Testbook:
Trigger:
set {_BOOK} to a new book
add page "Test" to {_BOOK}
set {_COMP} to a new text component with "Test"
add text component {_COMP} to book {_BOOK}
open book {_BOOK} to player
I have no idea what I did wrong.