mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 00:47:42 +01:00
20 lines
906 B
Diff
20 lines
906 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
|
Date: Tue, 23 Jul 2019 06:50:55 -0500
|
|
Subject: [PATCH] Allow inventory resizing
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
index 8d7ad84c2bdafa8c8a385fe31acb887a883194ff..11230fb25270b06700efc61954556bfcd0135699 100644
|
|
--- a/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
+++ b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
@@ -141,7 +141,7 @@ public enum InventoryType {
|
|
CHISELED_BOOKSHELF(6, "Chiseled Bookshelf"),
|
|
;
|
|
|
|
- private final int size;
|
|
+ private int size; public void setDefaultSize(int size) { this.size = size; } // Purpur - remove file and add setter
|
|
private final String title;
|
|
private final boolean isCreatable;
|
|
|