From 2e472abc98a342bb672e2dbe096f9d553225ab82 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 18 Jun 2022 13:18:25 +0100 Subject: [PATCH] Fixed softdepends --- .../src/main/kotlin/com/willfp/ecopets/pets/PetDisplay.kt | 1 + eco-core/core-plugin/src/main/resources/plugin.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/PetDisplay.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/PetDisplay.kt index a68e552..054e26d 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/PetDisplay.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/PetDisplay.kt @@ -45,6 +45,7 @@ class PetDisplay( location.y += NumberUtils.fastSin(tick / (2 * PI) * 0.5) * 0.15 stand.teleport(location) + stand.setRotation(player.eyeLocation.yaw, 0f) if (!pet.entityTexture.contains(":")) { stand.setRotation((20 * tick / (2 * PI)).toFloat(), 0f) diff --git a/eco-core/core-plugin/src/main/resources/plugin.yml b/eco-core/core-plugin/src/main/resources/plugin.yml index 492b05c..5eb7852 100644 --- a/eco-core/core-plugin/src/main/resources/plugin.yml +++ b/eco-core/core-plugin/src/main/resources/plugin.yml @@ -23,6 +23,7 @@ softdepend: - Boosters - EcoSkills - Reforges + - ModelEngine commands: ecopets: description: Base Command