diff --git a/Spigot-Server-Patches/0242-Add-PlayerJumpEvent.patch b/Spigot-Server-Patches/0242-Add-PlayerJumpEvent.patch index 8b59d002e5..e4a136e7e6 100644 --- a/Spigot-Server-Patches/0242-Add-PlayerJumpEvent.patch +++ b/Spigot-Server-Patches/0242-Add-PlayerJumpEvent.patch @@ -1,14 +1,22 @@ -From 223286914a3ba1db3336c6f2b385158e0ce65301 Mon Sep 17 00:00:00 2001 +From 351c9bf5343039db037847212d2f4e3489933612 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 28 Sep 2017 17:21:44 -0400 Subject: [PATCH] Add PlayerJumpEvent diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java -index 760cb16c3..8c9467302 100644 +index 760cb16c3..f6c33b61f 100644 --- a/src/main/java/net/minecraft/server/PlayerConnection.java +++ b/src/main/java/net/minecraft/server/PlayerConnection.java -@@ -584,7 +584,34 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable { +@@ -57,6 +57,7 @@ import org.bukkit.inventory.EquipmentSlot; + import org.bukkit.inventory.InventoryView; + import org.bukkit.util.NumberConversions; + import com.destroystokyo.paper.event.player.IllegalPacketEvent; // Paper ++import com.destroystokyo.paper.event.player.PlayerJumpEvent; // Paper + import co.aikar.timings.MinecraftTimings; // Paper + // CraftBukkit end + +@@ -584,7 +585,34 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable { d8 = d5 - this.p; d9 = d6 - this.q; if (this.player.onGround && !packetplayinflying.a() && d8 > 0.0D) {