From 5532c4b10b450d06c791e34347574f0c883a9237 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Sun, 30 Aug 2020 11:24:23 -0700 Subject: [PATCH] fix #4144 (#4170) --- Spigot-API-Patches/PlayerAttemptPickupItemEvent.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/Spigot-API-Patches/PlayerAttemptPickupItemEvent.patch b/Spigot-API-Patches/PlayerAttemptPickupItemEvent.patch index 02e04212a8..54fed39209 100644 --- a/Spigot-API-Patches/PlayerAttemptPickupItemEvent.patch +++ b/Spigot-API-Patches/PlayerAttemptPickupItemEvent.patch @@ -86,6 +86,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + @Override + public void setCancelled(boolean cancel) { + this.isCancelled = cancel; ++ this.flyAtPlayer = !cancel; + } + + @NotNull