Fixed things
This commit is contained in:
parent
f2485854ef
commit
668454f156
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user