Skip to content

Commit

Permalink
Changed variable names
Browse files Browse the repository at this point in the history
Just for consistency, since it took me til now to see it's "runners", not "speedrunners"
  • Loading branch information
Permanently committed Dec 26, 2020
1 parent 70b31d7 commit e5578ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void onEnable() {
}
if(runnersTeam == null){
runnersTeam = board.registerNewTeam("speedrunners");
runnersTeam.setColor(getByChar(getConfig().getString("speedrunnersColor", "&a").replace("&", "")));
runnersTeam.setColor(getByChar(getConfig().getString("runnersColor", "&a").replace("&", "")));
}
if(spectatorsTeam == null){
spectatorsTeam = board.registerNewTeam("spectators");
Expand Down
2 changes: 1 addition & 1 deletion MinecraftManhunt/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spectatorRoleId: "XXXXX"
# You can change the colours of the teams here.
# Only one colour is supported.
huntersColor: "&c"
speedrunnersColor: "&a"
runnersColor: "&a"
spectatorsColor: "&b"

# Please do not touch the value below!
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Edit the `plugins/MinecraftManhunt/config.yml` file with the following options:
runnnerRoleId | The ID of the role to assign to Runners. | string | Optional
spectatorRoleId | The ID of the role to assign to Spectators. | string | Optional
huntersColor | The color to give to Hunters. | string | Optional
speedrunnersColor | The color to give to Runners. | string | Optional
runnersColor | The color to give to Runners. | string | Optional
spectatorsColor | The color to give Spectators. | string | Optional
uuid | Randomized id that is automatically assigned if `sendUsageData` is enabled. **Please do not touch this field.** | string | Do not set manually

Expand Down

0 comments on commit e5578ac

Please sign in to comment.