summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-11-27 06:23:07 +0100
committersnowleo <schneeleo@gmail.com>2011-11-27 06:23:07 +0100
commit3c71ae4cd96b38f7368c062281b8546a86773949 (patch)
tree8215b6641903bc79f333dc430bac79ab493f66e4 /EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java
parent34edf34ba3710b074a95c8b76434a75ed4b5dd2f (diff)
downloadEssentials-3c71ae4cd96b38f7368c062281b8546a86773949.tar
Essentials-3c71ae4cd96b38f7368c062281b8546a86773949.tar.gz
Essentials-3c71ae4cd96b38f7368c062281b8546a86773949.tar.lz
Essentials-3c71ae4cd96b38f7368c062281b8546a86773949.tar.xz
Essentials-3c71ae4cd96b38f7368c062281b8546a86773949.zip
Locale.ENGLISH!!1!
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java
index 363e4ca6e..7789009e1 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerNormal.java
@@ -4,6 +4,7 @@ import com.earth2me.essentials.ChargeException;
import static com.earth2me.essentials.I18n._;
import com.earth2me.essentials.IEssentials;
import com.earth2me.essentials.User;
+import java.util.Locale;
import java.util.Map;
import org.bukkit.Server;
import org.bukkit.event.player.PlayerChatEvent;
@@ -50,7 +51,7 @@ public class EssentialsChatPlayerListenerNormal extends EssentialsChatPlayer
format.append(chatType).append("Format");
StringBuilder errorMsg = new StringBuilder();
- errorMsg.append("notAllowedTo").append(chatType.substring(0, 1).toUpperCase()).append(chatType.substring(1));
+ errorMsg.append("notAllowedTo").append(chatType.substring(0, 1).toUpperCase(Locale.ENGLISH)).append(chatType.substring(1));
if (user.isAuthorized(permission.toString()))
{