mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-4892: Allow to set the currently viewed page of a book on a lectern inventory
This commit is contained in:
parent
a30337f710
commit
90e5cca3d1
1 changed files with 5 additions and 1 deletions
|
@ -98,7 +98,11 @@ public abstract class InventoryView {
|
|||
/**
|
||||
* The repair's cost in xp levels
|
||||
*/
|
||||
REPAIR_COST(0, InventoryType.ANVIL);
|
||||
REPAIR_COST(0, InventoryType.ANVIL),
|
||||
/**
|
||||
* The lectern's current open book page
|
||||
*/
|
||||
BOOK_PAGE(0, InventoryType.LECTERN);
|
||||
int id;
|
||||
InventoryType style;
|
||||
private Property(int id, /*@NotNull*/ InventoryType appliesTo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue