Fixed rotation

This commit is contained in:
Auxilor
2022-06-18 13:19:13 +01:00
parent 2e472abc98
commit 3ea5d8f4d3

View File

@@ -45,7 +45,6 @@ class PetDisplay(
location.y += NumberUtils.fastSin(tick / (2 * PI) * 0.5) * 0.15 location.y += NumberUtils.fastSin(tick / (2 * PI) * 0.5) * 0.15
stand.teleport(location) stand.teleport(location)
stand.setRotation(player.eyeLocation.yaw, 0f)
if (!pet.entityTexture.contains(":")) { if (!pet.entityTexture.contains(":")) {
stand.setRotation((20 * tick / (2 * PI)).toFloat(), 0f) stand.setRotation((20 * tick / (2 * PI)).toFloat(), 0f)