From 668454f156008dd4938f7f162efcc1882a179dc2 Mon Sep 17 00:00:00 2001 From: Mysticate Date: Wed, 7 Oct 2015 22:10:57 -0400 Subject: [PATCH] Fixed things --- .../src/mineplex/core/mount/types/MountSpider.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java b/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java index 0bc73caea..a0411c1e1 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/mount/types/MountSpider.java @@ -176,6 +176,9 @@ public class MountSpider extends HorseMount Horse horse = GetActive().get(event.getPlayer()); + if (!UtilEnt.isGrounded(horse)) + return; + _jumpCancel.remove(horse); event.setCancelled(true); @@ -232,7 +235,7 @@ public class MountSpider extends HorseMount return; _jumpCancel.remove(horse); - UtilAction.velocity(horse, new Vector(horse.getVelocity().getX(), 0.5, horse.getVelocity().getZ()).multiply(horse.getVelocity().length())); + UtilAction.velocity(horse, new Vector(horse.getVelocity().getX(), 0.5, horse.getVelocity().getZ())); } }, 5); }