Jank fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user