aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0376-Add-EquipmentSlot-convenience-methods.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0376-Add-EquipmentSlot-convenience-methods.patch')
-rw-r--r--patches/api/0376-Add-EquipmentSlot-convenience-methods.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0376-Add-EquipmentSlot-convenience-methods.patch b/patches/api/0376-Add-EquipmentSlot-convenience-methods.patch
index 64857c2af9..fc2c0fcc98 100644
--- a/patches/api/0376-Add-EquipmentSlot-convenience-methods.patch
+++ b/patches/api/0376-Add-EquipmentSlot-convenience-methods.patch
@@ -5,12 +5,12 @@ Subject: [PATCH] Add EquipmentSlot convenience methods
diff --git a/src/main/java/org/bukkit/inventory/EquipmentSlot.java b/src/main/java/org/bukkit/inventory/EquipmentSlot.java
-index d776a0c183737efcaf94f0911f3a8c1adc2c5ada..e19e708e9bda10e99c07763d162cb140d0189147 100644
+index 5642d8af60b6649497aba9b0f6ab7bba7702b9ee..adf0a94f98eb66b3957d4009d83ad5f741e0aa79 100644
--- a/src/main/java/org/bukkit/inventory/EquipmentSlot.java
+++ b/src/main/java/org/bukkit/inventory/EquipmentSlot.java
-@@ -32,4 +32,27 @@ public enum EquipmentSlot {
+@@ -33,4 +33,27 @@ public enum EquipmentSlot {
public EquipmentSlotGroup getGroup() {
- return group;
+ return group.get();
}
+ // Paper start
+ /**