diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-03-03 07:09:41 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-03-05 08:35:48 +0000 |
commit | caf598f55b271cf1e009c8073cb4d13538559a73 (patch) | |
tree | e5cb27756872b4b20d4e19ad12feb28a0a1c97ab | |
parent | 619e099a04a8453365121865cb587447be8174a2 (diff) | |
download | Essentials-caf598f55b271cf1e009c8073cb4d13538559a73.tar Essentials-caf598f55b271cf1e009c8073cb4d13538559a73.tar.gz Essentials-caf598f55b271cf1e009c8073cb4d13538559a73.tar.lz Essentials-caf598f55b271cf1e009c8073cb4d13538559a73.tar.xz Essentials-caf598f55b271cf1e009c8073cb4d13538559a73.zip |
Capital case for formatting.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Kit.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Kit.java b/Essentials/src/com/earth2me/essentials/Kit.java index 138a12979..47e5e6ac2 100644 --- a/Essentials/src/com/earth2me/essentials/Kit.java +++ b/Essentials/src/com/earth2me/essentials/Kit.java @@ -1,6 +1,7 @@ package com.earth2me.essentials; import static com.earth2me.essentials.I18n._; +import static com.earth2me.essentials.I18n.capitalCase; import com.earth2me.essentials.commands.NoChargeException; import com.earth2me.essentials.craftbukkit.InventoryWorkaround; import java.util.*; @@ -22,7 +23,7 @@ public class Kit { if (user.isAuthorized("essentials.kit." + kiteItem.toLowerCase(Locale.ENGLISH))) { - list.append(" ").append(kiteItem); + list.append(" ").append(capitalCase(kiteItem)); } } return list.toString().trim(); |