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

This commit is contained in:
Brokkonaut 2019-05-08 00:01:01 +02:00 committed by md_5
parent a30337f710
commit 90e5cca3d1

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