Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by AtBar666, Feb 11, 2020.
Can you answer that for me
Thanks you so much
You can't. You need to pass a book item to Player#openBook
[QUOTE =“ ysl3000，文章：3686983，成员：35937”]您不能。您需要将某本书传递给Player＃openBook
https://hub.spigotmc.org/javadocs/s...html#openBook-org.bukkit.inventory.ItemStack- [/ QUOTE]
No. The API call is redirecting to the NMS method. There you need to pass it as well.
Just build your book with everything you need in it and pass it to Player#openBook
Looks like a xy-problem