From 02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5 Mon Sep 17 00:00:00 2001 From: 0x277F <0x277F@gmail.com> Date: Sat, 19 Mar 2016 18:00:15 -0600 Subject: SPIGOT-1986: Fix flying players spamming EntityToggleGlideEvent --- nms-patches/EntityHuman.patch | 8 -------- 1 file changed, 8 deletions(-) (limited to 'nms-patches') diff --git a/nms-patches/EntityHuman.patch b/nms-patches/EntityHuman.patch index bcd23a16..e997a403 100644 --- a/nms-patches/EntityHuman.patch +++ b/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); -- cgit v1.2.3