aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0930-Add-PlayerPickItemEvent.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-01-24 22:13:08 +0100
committerNassim Jahnke <[email protected]>2024-01-25 00:41:51 +0100
commit1831240d1c48086fc0199584787cd2013d4d4b5f (patch)
treed61d8d63ec61e8394df0b9c7db9219e1518741c2 /patches/server/0930-Add-PlayerPickItemEvent.patch
parentb7004609991dab287b582a1546a1b59c5d90c916 (diff)
downloadPaper-1831240d1c48086fc0199584787cd2013d4d4b5f.tar.gz
Paper-1831240d1c48086fc0199584787cd2013d4d4b5f.zip
[ci skip] Move chunk system patch back
Diffstat (limited to 'patches/server/0930-Add-PlayerPickItemEvent.patch')
-rw-r--r--patches/server/0930-Add-PlayerPickItemEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0930-Add-PlayerPickItemEvent.patch b/patches/server/0930-Add-PlayerPickItemEvent.patch
index 60bdf01f72..edebe95f30 100644
--- a/patches/server/0930-Add-PlayerPickItemEvent.patch
+++ b/patches/server/0930-Add-PlayerPickItemEvent.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add PlayerPickItemEvent
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index 9f30c8a271db87fff58e28dbec91dab7209c42a7..302ff57c7fb90f5ccddefa222f6b5fdd8fb3cf22 100644
+index c52d4f2db071b2aea276a96e8cbd550dd6f3880f..a3513ef6952ea1b446540505ab98d1cb865f7324 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -907,8 +907,17 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
+@@ -900,8 +900,17 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
this.disconnect("Invalid hotbar selection (Hacking?)", org.bukkit.event.player.PlayerKickEvent.Cause.ILLEGAL_ACTION); // Paper - kick event cause
return;
}