summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityHuman.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityHuman.patch')
-rw-r--r--nms-patches/EntityHuman.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntityHuman.patch b/nms-patches/EntityHuman.patch
index 38a51c8d..bcd23a16 100644
--- a/nms-patches/EntityHuman.patch
+++ b/nms-patches/EntityHuman.patch
@@ -382,7 +382,7 @@
this.motY = d3 * 0.6D;
this.aQ = f2;
this.fallDistance = 0.0F;
-+ if (!CraftEventFactory.callToggleGlideEvent(this, false).isCancelled()) // CraftBukkit
++ if (!getFlag(7) && !CraftEventFactory.callToggleGlideEvent(this, false).isCancelled()) // CraftBukkit
this.setFlag(7, false);
} else {
super.g(f, f1);