summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-07-07 12:11:57 +0100
committerKHobbits <rob@khobbits.co.uk>2013-07-07 12:38:01 +0100
commit3d29248ace7758d55a39d4247597abf0944b5145 (patch)
tree689b079eff6eedd166e1c8b31e5c1348f29c9a29 /EssentialsChat/src/com/earth2me
parent3f5e2ad85ab95f741700a8126d5f917a9cc0014c (diff)
downloadEssentials-3d29248ace7758d55a39d4247597abf0944b5145.tar
Essentials-3d29248ace7758d55a39d4247597abf0944b5145.tar.gz
Essentials-3d29248ace7758d55a39d4247597abf0944b5145.tar.lz
Essentials-3d29248ace7758d55a39d4247597abf0944b5145.tar.xz
Essentials-3d29248ace7758d55a39d4247597abf0944b5145.zip
Misc cleanup
Diffstat (limited to 'EssentialsChat/src/com/earth2me')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
index 156a570f8..7eaaf2e0f 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
@@ -50,7 +50,7 @@ public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer
event.setMessage(FormatUtil.formatMessage(user, "essentials.chat", event.getMessage()));
String group = user.getGroup();
String world = user.getWorld().getName();
- Team team = user.getScoreboard().getPlayerTeam(user);
+ Team team = user.getScoreboard().getPlayerTeam(user.getBase());
String format = ess.getSettings().getChatFormat(group);
format = format.replace("{0}", group);