diff --git a/src/main/java/net/aufdemrand/denizen/objects/dEllipsoid.java b/src/main/java/net/aufdemrand/denizen/objects/dEllipsoid.java index b267c7bb02..b5b916c6c2 100644 --- a/src/main/java/net/aufdemrand/denizen/objects/dEllipsoid.java +++ b/src/main/java/net/aufdemrand/denizen/objects/dEllipsoid.java @@ -159,6 +159,26 @@ public String getAttribute(Attribute attribute) { .getAttribute(attribute.fulfill(1)); } + // <--[tag] + // @attribute + // @returns dLocation + // @description + // Returns the location of the ellipsoid. + // --> + if (attribute.startsWith("location")) { + return loc.getAttribute(attribute.fulfill(1)); + } + + // <--[tag] + // @attribute + // @returns dLocation + // @description + // Returns the size of the ellipsoid. + // --> + if (attribute.startsWith("size")) { + return size.getAttribute(attribute.fulfill(1)); + } + // Iterate through this object's properties' attributes for (Property property : PropertyParser.getProperties(this)) { String returned = property.getAttribute(attribute);