From b1fcadc46ddcbd3ba574f1b93533bc4ae9ee6bee Mon Sep 17 00:00:00 2001 From: mani1232 Date: Tue, 27 Sep 2022 15:31:24 +0200 Subject: [PATCH] remove , and ; --- .../willfp/ecopets/pets/entity/ModelEnginePetEntity.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/entity/ModelEnginePetEntity.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/entity/ModelEnginePetEntity.kt index be71e89..5e39d5b 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/entity/ModelEnginePetEntity.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecopets/pets/entity/ModelEnginePetEntity.kt @@ -8,21 +8,21 @@ import org.bukkit.entity.ArmorStand class ModelEnginePetEntity( pet: Pet, - private val modelID: String, + private val modelID: String ) : PetEntity(pet) { override fun spawn(location: Location): ArmorStand { val stand = emptyArmorStandAt(location, pet) - val entityAnimation = pet.entityAnimation; + val entityAnimation = pet.entityAnimation val model = ModelEngineAPI.createActiveModel(modelID) - val animationHandler = model.animationHandler; - val animationProperty = animationHandler.getAnimation(entityAnimation); + val animationHandler = model.animationHandler + val animationProperty = animationHandler.getAnimation(entityAnimation) if (animationProperty != null) { animationHandler.playAnimation(animationProperty, true) } else { EcoPetsPlugin.instance.logger.warning("$entityAnimation not found in model $modelID, im use walk animation") - val animationPropertyWalk = animationHandler.getAnimation("walk"); + val animationPropertyWalk = animationHandler.getAnimation("walk") if (animationPropertyWalk != null) { animationHandler.playAnimation(animationPropertyWalk, true) } else {