Move location back
This commit is contained in:
parent
fc913d94a4
commit
de33f43e25
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user