9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-28 03:19:15 +00:00

getModelEntity method used

This commit is contained in:
LoJoSho
2023-01-15 20:19:24 -06:00
parent ca567a7dd3
commit d06bdddfdb

View File

@@ -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);
}
}