Improved how books are handled
Implemented admin model viewer ::models
This commit is contained in:
@@ -126,9 +126,7 @@ class GloughsJournal : InteractionListener {
|
||||
|
||||
override fun defineListeners() {
|
||||
on(Items.GLOUGHS_JOURNAL_785, IntType.ITEM, "read") { player, _ ->
|
||||
setAttribute(player, "bookInterfaceCallback", ::display)
|
||||
setAttribute(player, "bookInterfaceCurrentPage", 0)
|
||||
display(player, 0, 0)
|
||||
BookInterface.openBook(player, BookInterface.FANCY_BOOK_3_49, ::display)
|
||||
return@on true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user