mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-24 11:38:26 +01:00
Capitalize names
This commit is contained in:
parent
dfe92470e5
commit
f8245cc79e
@ -192,8 +192,8 @@ public class Citizens extends JavaPlugin {
|
|||||||
});
|
});
|
||||||
Metrics.Graph graph = metrics.createGraph("Character Type Usage");
|
Metrics.Graph graph = metrics.createGraph("Character Type Usage");
|
||||||
Messaging.log("Starting Metrics");
|
Messaging.log("Starting Metrics");
|
||||||
for(Character character : characterManager.getRegistered()){
|
for(Character character : characterManager.getRegistered()){
|
||||||
graph.addPlotter(new Metrics.Plotter(character.getName()) {
|
graph.addPlotter(new Metrics.Plotter(StringHelper.capitalize(character.getName())) {
|
||||||
@Override
|
@Override
|
||||||
public int getValue() {
|
public int getValue() {
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user