This commit is contained in:
Auxilor
2022-08-03 15:09:45 +01:00
parent 7fb3df354d
commit e7cc186e9c

View File

@@ -44,7 +44,11 @@ class PetDisplay(
location.y += NumberUtils.fastSin(tick / (2 * PI) * 0.5) * 0.15
stand.teleport(location)
try {
stand.teleport(location)
} catch (_: Exception) {
}
if (!pet.entityTexture.contains(":")) {
stand.setRotation((20 * tick / (2 * PI)).toFloat(), 0f)