Skip to content

Commit

Permalink
Fix typos in Element
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 27, 2013
1 parent 15a2182 commit 89e0cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/aufdemrand/denizen/objects/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public String getAttribute(Attribute attribute) {
// @description
// Returns the element as an entity. Note: the value must be a valid entity.
// -->
if (attribute.startsWith("as_entity")
if (attribute.startsWith("asentity")
|| attribute.startsWith("as_entity"))
return dEntity.valueOf(element).getAttribute(attribute.fulfill(1));

Expand All @@ -213,7 +213,7 @@ public String getAttribute(Attribute attribute) {
// @description
// Returns the element as a location. Note: the value must be a valid location.
// -->
if (attribute.startsWith("as_location")
if (attribute.startsWith("aslocation")
|| attribute.startsWith("as_location"))
return dLocation.valueOf(element).getAttribute(attribute.fulfill(1));

Expand Down

0 comments on commit 89e0cc2

Please sign in to comment.