Skip to content

Commit

Permalink
meta corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 14, 2020
1 parent 305334b commit 6b54b8a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Expand Up @@ -268,7 +268,7 @@ public void tagEvent(ReplaceableTagEvent event) {
// @returns ElementTag(Boolean)
// @plugin Depenizen, BungeeCord
// @description
// Returns this server is currently connected to the BungeeCord proxy server.
// Returns whether this server is currently connected to the BungeeCord proxy server.
// -->
if (attribute.startsWith("connected")) {
event.setReplacedObject(new ElementTag(connected)
Expand Down
Expand Up @@ -212,10 +212,10 @@ else if (attribute.startsWith("owner")) {

// <--[tag]
// @attribute <AreaShopTag.worldguard_region>
// @returns WorldGuardRegion
// @returns WorldGuardRegionTag
// @plugin Depenizen, AreaShop
// @description
// Returns the WorldGuardRegion that holds the AreaShop.
// Returns the WorldGuardRegionTag that holds the AreaShop.
// -->
else if (attribute.startsWith("worldguard_region")) {
return new WorldGuardRegionTag(areaShop.getRegion(), areaShop.getWorld()).getAttribute(attribute.fulfill(1));
Expand Down
Expand Up @@ -276,7 +276,6 @@ else if (attribute.startsWith("power")) {
// -->
else if (attribute.startsWith("relation")) {
FactionTag to = valueOf(attribute.getContext(1));

if (to != null) {
return new ElementTag(faction.getRelationTo(to.getFaction()).toString())
.getAttribute(attribute.fulfill(1));
Expand Down
Expand Up @@ -180,7 +180,7 @@ public String getAttribute(Attribute attribute) {
// @returns TownTag
// @plugin Depenizen, Towny
// @description
// Returns the capital city of the nation as a dTown.
// Returns the capital city of the nation as a TownTag.
// -->
else if (attribute.startsWith("capital")) {
if (nation.hasCapital()) {
Expand Down
Expand Up @@ -188,7 +188,7 @@ else if (attribute.startsWith("needs_permission")) {

// <--[tag]
// @attribute <SkillAPIClassTag.parent>
// @returns SkillAPIClass
// @returns SkillAPIClassTag
// @plugin Depenizen, SkillAPI
// @description
// Returns the parent class of this SkillAPI class.
Expand Down
Expand Up @@ -149,7 +149,7 @@ public String getAttribute(Attribute attribute) {

// <--[tag]
// @attribute <TownTag.assistants>
// @returns ListTag(PlayerTag)
// @returns ListTag
// @plugin Depenizen, Towny
// @description
// Returns a list of the town's assistants. Players will be valid PlayerTag instances, non-players will be plaintext of the name.
Expand Down

0 comments on commit 6b54b8a

Please sign in to comment.