From f8245cc79e06c2a22739e914f449b05298a80909 Mon Sep 17 00:00:00 2001 From: David Marby Date: Mon, 7 May 2012 19:53:58 +0200 Subject: [PATCH] Capitalize names --- src/main/java/net/citizensnpcs/Citizens.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/citizensnpcs/Citizens.java b/src/main/java/net/citizensnpcs/Citizens.java index 0d0028d9c..79f6afafb 100644 --- a/src/main/java/net/citizensnpcs/Citizens.java +++ b/src/main/java/net/citizensnpcs/Citizens.java @@ -192,8 +192,8 @@ public class Citizens extends JavaPlugin { }); Metrics.Graph graph = metrics.createGraph("Character Type Usage"); Messaging.log("Starting Metrics"); - for(Character character : characterManager.getRegistered()){ - graph.addPlotter(new Metrics.Plotter(character.getName()) { + for(Character character : characterManager.getRegistered()){ + graph.addPlotter(new Metrics.Plotter(StringHelper.capitalize(character.getName())) { @Override public int getValue() { return 1;