mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-27 06:03:09 +02:00
25 lines
1.0 KiB
Diff
25 lines
1.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Jake Potrebic <jake.m.potrebic@gmail.com>
|
|
Date: Wed, 27 Dec 2023 16:46:13 -0800
|
|
Subject: [PATCH] Add missing InventoryType
|
|
|
|
Upstream did not add a DECORATED_POT inventory type
|
|
|
|
diff --git a/src/main/java/org/bukkit/event/inventory/InventoryType.java b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
index 64e59fe706b0bb37fc2439fa88fd40c3167c9fb5..daa1306a7324d946d66ad5a674bbc84371d8d4d6 100644
|
|
--- a/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
+++ b/src/main/java/org/bukkit/event/inventory/InventoryType.java
|
|
@@ -144,6 +144,12 @@ public enum InventoryType {
|
|
* Pseudo jukebox inventory with 1 slot of undefined type.
|
|
*/
|
|
JUKEBOX(1, "Jukebox", false),
|
|
+ // Paper start - add missing type
|
|
+ /**
|
|
+ * Pseudo decorated pot with 1 slot of undefined type.
|
|
+ */
|
|
+ DECORATED_POT(1, "Decorated Pot", false),
|
|
+ // Paper end - add missing type
|
|
/**
|
|
* A crafter inventory, with 9 CRAFTING slots.
|
|
*/
|