aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch')
-rw-r--r--patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch b/patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch
index c9eb55f978..eb79d542ce 100644
--- a/patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch
+++ b/patches/server/1013-Add-slot-sanity-checks-in-container-clicks.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add slot sanity checks in container clicks
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 8bca5ba75977c0a61197eb47c94f0456d66b29a4..33be0db006cca66f38f2105924466b0210139848 100644
+index 236ab643cdd65b3572860aedf1f5ac18ff96139a..65bb221993147a558995b36fb835f7b82e0eb4bd 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -2980,6 +2980,12 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
+@@ -2981,6 +2981,12 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
break;
case SWAP:
if ((packet.getButtonNum() >= 0 && packet.getButtonNum() < 9) || packet.getButtonNum() == 40) {