aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0156-Add-PlayerJumpEvent.patch
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2022-08-14 10:03:13 +0200
committerNassim Jahnke <[email protected]>2022-08-14 10:03:13 +0200
commit0ddd20c6f7cc545bba5b8345416ee377d5b87be2 (patch)
tree4adb3db8f68971bb2609098dc0e045da7ca41c16 /patches/server/0156-Add-PlayerJumpEvent.patch
parent3f0415b45303568fe5d362dc3fa27b3a4ca680eb (diff)
downloadPaper-0ddd20c6f7cc545bba5b8345416ee377d5b87be2.tar.gz
Paper-0ddd20c6f7cc545bba5b8345416ee377d5b87be2.zip
Updated Upstream (CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing CraftBukkit Changes: ead719a65 SPIGOT-7136: Cancelling PlayerInteractEntityEvent with the Allay desyncs 8468e167e SPIGOT-7137: StructureGrowEvent isFromBonemeal and getPlayer have incorrect values d45057c59 SPIGOT-7089: Crash when command blocks attempt to load worlds Spigot Changes: 450dcaa8 Rebuild patches
Diffstat (limited to 'patches/server/0156-Add-PlayerJumpEvent.patch')
-rw-r--r--patches/server/0156-Add-PlayerJumpEvent.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0156-Add-PlayerJumpEvent.patch b/patches/server/0156-Add-PlayerJumpEvent.patch
index 63fe8ccdb7..0037d31c81 100644
--- a/patches/server/0156-Add-PlayerJumpEvent.patch
+++ b/patches/server/0156-Add-PlayerJumpEvent.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add PlayerJumpEvent
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index bdef09be892bf2675f713e1f8babada7019c0781..60dfaa3d1f873cb6c01fd736e78dde6a9b5c148e 100644
+index c06fbadc3960a31b376f814ad050f34954728762..9eb204ba4df5064fcca40c9445a5fc6a10d1b3aa 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-@@ -1283,7 +1283,34 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
+@@ -1286,7 +1286,34 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
boolean flag = d8 > 0.0D;
if (this.player.isOnGround() && !packet.isOnGround() && flag) {