summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me/essentials/chat
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-06-08 22:31:19 +0100
committerKHobbits <rob@khobbits.co.uk>2013-06-08 22:31:19 +0100
commit09f67c97236e1a5444e5eaf6af4ff2dd5b646af8 (patch)
treed8a7d8db862659634679abd9386fa41ef811dc20 /EssentialsChat/src/com/earth2me/essentials/chat
parent98e427e831c43a619a57aacc034535c4d5d09213 (diff)
downloadEssentials-09f67c97236e1a5444e5eaf6af4ff2dd5b646af8.tar
Essentials-09f67c97236e1a5444e5eaf6af4ff2dd5b646af8.tar.gz
Essentials-09f67c97236e1a5444e5eaf6af4ff2dd5b646af8.tar.lz
Essentials-09f67c97236e1a5444e5eaf6af4ff2dd5b646af8.tar.xz
Essentials-09f67c97236e1a5444e5eaf6af4ff2dd5b646af8.zip
Split util classes.
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
index e8fee2fbb..a86dcd14f 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
@@ -2,7 +2,8 @@ package com.earth2me.essentials.chat;
import com.earth2me.essentials.IEssentials;
import com.earth2me.essentials.User;
-import com.earth2me.essentials.Util;
+import com.earth2me.essentials.utils.StringUtil;
+import com.earth2me.essentials.utils.FormatUtil;
import java.text.MessageFormat;
import java.util.Locale;
import java.util.Map;
@@ -44,7 +45,7 @@ public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer
/**
* This listener should apply the general chat formatting only...then return control back the event handler
*/
- event.setMessage(Util.formatMessage(user, "essentials.chat", event.getMessage()));
+ event.setMessage(FormatUtil.formatMessage(user, "essentials.chat", event.getMessage()));
String group = user.getGroup();
String world = user.getWorld().getName();
MessageFormat format = ess.getSettings().getChatFormat(group);