aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch')
-rw-r--r--patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch b/patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch
index cbe6fb67df..2d47281f92 100644
--- a/patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch
+++ b/patches/server/0897-Add-titleOverride-to-InventoryOpenEvent.patch
@@ -8,7 +8,7 @@ diff --git a/src/main/java/net/minecraft/server/level/ServerPlayer.java b/src/ma
index d59225c63aa4d3df9f8e87a1b3527d044fd2c410..e10c8309e184fe2c5c9682aa901ed7a320980431 100644
--- a/src/main/java/net/minecraft/server/level/ServerPlayer.java
+++ b/src/main/java/net/minecraft/server/level/ServerPlayer.java
-@@ -1617,12 +1617,17 @@ public class ServerPlayer extends Player {
+@@ -1618,12 +1618,17 @@ public class ServerPlayer extends Player {
this.nextContainerCounter();
AbstractContainerMenu container = factory.createMenu(this.containerCounter, this.getInventory(), this);
@@ -27,7 +27,7 @@ index d59225c63aa4d3df9f8e87a1b3527d044fd2c410..e10c8309e184fe2c5c9682aa901ed7a3
if (container == null && !cancelled) { // Let pre-cancelled events fall through
// SPIGOT-5263 - close chest if cancelled
if (factory instanceof Container) {
-@@ -1644,7 +1649,7 @@ public class ServerPlayer extends Player {
+@@ -1645,7 +1650,7 @@ public class ServerPlayer extends Player {
} else {
// CraftBukkit start
this.containerMenu = container;