Skip to content

Commit

Permalink
target Jobs Reborn 5.x, removes historical "color" tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 13, 2022
1 parent 5ee6217 commit f264985
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion lib
Submodule lib updated 1 files
+ Jobs.jar
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -153,7 +153,7 @@
<dependency>
<groupId>com.gamingmesh</groupId>
<artifactId>Jobs</artifactId>
<version>3.6.3</version>
<version>5.0.3.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/Jobs.jar</systemPath>
</dependency>
Expand Down
Expand Up @@ -184,18 +184,6 @@ public ObjectTag getObjectAttribute(Attribute attribute) {
}
}

// <--[tag]
// @attribute <JobsJobTag.color>
// @returns ElementTag
// @plugin Depenizen, Jobs
// @description
// Returns the ChatColor of the job.
// -->
if (attribute.startsWith("color")) {
return new ElementTag(job.getChatColor().toString())
.getObjectAttribute(attribute.fulfill(1));
}

// <--[tag]
// @attribute <JobsJobTag.description>
// @returns ElementTag
Expand Down

0 comments on commit f264985

Please sign in to comment.