UnknownStudio/UDPLib

BookUtils can improve performance

Closed this issue · 1 comments

Spigot has patched BookMeta , it's non-essential to use reflection to access IChatBaseComponent$ChatSerializer$a.

ItemStack(Material.BOOK_AND_QUILL).itemMeta.safeCast<CraftMetaBook>()!!
	.spigot().addPage(componentChat("Test") {
		color(ChatColor.BLUE)
		executeCommandOnClick("/say test")
	}.create())

OK