diff options
author | 0x277F <0x277F@gmail.com> | 2016-03-19 18:00:15 -0600 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-20 11:01:52 +1100 |
commit | 02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5 (patch) | |
tree | 9bd8867263e353b7790d1cfe4d2dda00bff019ae | |
parent | a8eec15e533e4f15f557844bca87f795f2261a81 (diff) | |
download | craftbukkit-02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5.tar craftbukkit-02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5.tar.gz craftbukkit-02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5.tar.lz craftbukkit-02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5.tar.xz craftbukkit-02b26eec0e4be4f8e6df1f7d6c8b3601c7c604a5.zip |
SPIGOT-1986: Fix flying players spamming EntityToggleGlideEvent
-rw-r--r-- | nms-patches/EntityHuman.patch | 8 |
1 files changed, 0 insertions, 8 deletions
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); |