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
1 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ public class OutfitReindeerAntlers extends OutfitReindeer
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.add(location.getDirection().multiply(0.4));
location.add(location.getDirection().multiply(0.2));
left.teleport(location);
right.teleport(location);