SPIGOT-4892: Allow to set the currently viewed page of a book on a lectern inventory

By: Brokkonaut <hannos17@gmx.de>
This commit is contained in:
Bukkit/Spigot 2019-05-08 00:01:01 +02:00
parent 1ac05c8b80
commit 7285d5d822

View file

@ -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) {