mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 03:05:52 -07:00
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user