Skip to content

Commit

Permalink
highest_y -> highest
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Aug 3, 2013
1 parent fa41a86 commit e5fc522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -862,7 +862,7 @@ else if (dEntity.matches(attribute.getContext(1))) {
// <l@location.highest_y> -> dLocation
// Returns the location of the block at x,z with the highest y.
// -->
if (attribute.startsWith("highest_y")) {
if (attribute.startsWith("highest")) {
return new dLocation(getWorld().getHighestBlockAt(this).getLocation())
.getAttribute(attribute.fulfill(1));
}
Expand Down
Expand Up @@ -104,7 +104,7 @@ else if (!scriptEntry.hasObject("finish_script")

}

@SuppressWarnings("unchecked")

@Override
public void execute(ScriptEntry scriptEntry) throws CommandExecutionException {
Element action = scriptEntry.getElement("action");
Expand Down

0 comments on commit e5fc522

Please sign in to comment.