From d06bdddfdb91fc3a8885b643328c408b04771dd1 Mon Sep 17 00:00:00 2001 From: LoJoSho Date: Sun, 15 Jan 2023 20:19:24 -0600 Subject: [PATCH] getModelEntity method used --- .../hmccosmetics/entities/BalloonEntity.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/entities/BalloonEntity.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/entities/BalloonEntity.java index 7b685868..758c3ee2 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/entities/BalloonEntity.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/entities/BalloonEntity.java @@ -100,22 +100,22 @@ public class BalloonEntity { } public UUID getModelUnqiueId() { - return modelEntity.getUniqueId(); + return getModelEntity().getUniqueId(); } public int getModelId() { - return modelEntity.getEntityId(); + return getModelEntity().getEntityId(); } public Location getLocation() { - return this.modelEntity.getLocation(); + return this.getModelEntity().getLocation(); } public void setLocation(Location location) { - this.modelEntity.teleport(location); + this.getModelEntity().teleport(location); } public void setVelocity(Vector vector) { - this.modelEntity.setVelocity(vector); + this.getModelEntity().setVelocity(vector); } }