Fixed things

This commit is contained in:
Mysticate 2015-10-07 22:10:57 -04:00
parent f2485854ef
commit 668454f156
1 changed files with 4 additions and 1 deletions

View File

@ -176,6 +176,9 @@ public class MountSpider extends HorseMount
Horse horse = GetActive().get(event.getPlayer()); Horse horse = GetActive().get(event.getPlayer());
if (!UtilEnt.isGrounded(horse))
return;
_jumpCancel.remove(horse); _jumpCancel.remove(horse);
event.setCancelled(true); event.setCancelled(true);
@ -232,7 +235,7 @@ public class MountSpider extends HorseMount
return; return;
_jumpCancel.remove(horse); _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); }, 5);
} }