Skip to content

Commit

Permalink
Add <mobarena@arena.config_name>
Browse files Browse the repository at this point in the history
  • Loading branch information
Fortifier42 committed Feb 4, 2016
1 parent 0d0e6c7 commit 0253238
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,17 @@ public String getAttribute(Attribute attribute) {
return new Element(arena.arenaName()).getAttribute(attribute.fulfill(1));
}

// <--[tag]
// @attribute <mobarena@mobarena.config_name>
// @returns Element
// @description
// Returns the configuration name of the arena.
// @plugin Depenizen, MobArena
// -->
else if (attribute.startsWith("config_name")) {
return new Element(arena.configName()).getAttribute(attribute.fulfill(1));
}

// <--[tag]
// @attribute <mobarena@mobarena.is_running>
// @returns Element(Boolean)
Expand Down

0 comments on commit 0253238

Please sign in to comment.