From 277b9a6caa916d370a8eeac535603f8a422f1827 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 19 Mar 2016 18:00:15 -0600 Subject: [PATCH] SPIGOT-1986: Fix flying players spamming EntityToggleGlideEvent By: 0x277F <0x277F@gmail.com> --- paper-server/nms-patches/EntityHuman.patch | 8 -------- 1 file changed, 8 deletions(-) diff --git a/paper-server/nms-patches/EntityHuman.patch b/paper-server/nms-patches/EntityHuman.patch index bcd23a16b3..e997a403ae 100644 --- a/paper-server/nms-patches/EntityHuman.patch +++ b/paper-server/nms-patches/EntityHuman.patch @@ -378,11 +378,3 @@ } } -@@ -1266,6 +1426,7 @@ - this.motY = d3 * 0.6D; - this.aQ = f2; - this.fallDistance = 0.0F; -+ if (!getFlag(7) && !CraftEventFactory.callToggleGlideEvent(this, false).isCancelled()) // CraftBukkit - this.setFlag(7, false); - } else { - super.g(f, f1);