Move location back

This commit is contained in:
Sam 2017-11-21 20:22:13 +00:00 committed by Alexander Meech
parent fc913d94a4
commit de33f43e25

View File

@ -76,9 +76,9 @@ public class OutfitReindeerAntlers extends OutfitReindeer
private void updateRotation(Player player, ArmorStand left, ArmorStand right) private void updateRotation(Player player, ArmorStand left, ArmorStand right)
{ {
Location location = player.getLocation().subtract(0, player.isSneaking() ? 0.3 : 0, 0); Location location = player.getLocation().add(0, player.isSneaking() ? -0.3 : 0.2, 0);
location.setPitch(0); location.setPitch(0);
location.add(location.getDirection().multiply(0.4)); location.add(location.getDirection().multiply(0.2));
left.teleport(location); left.teleport(location);
right.teleport(location); right.teleport(location);