summaryrefslogtreecommitdiffstats
path: root/EssentialsChat
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2014-04-13 01:01:49 +0100
committerKHobbits <rob@khobbits.co.uk>2014-04-13 01:01:49 +0100
commit36e580474f409c7ad6b3634b83383da608485676 (patch)
tree9de178009277a1d0e0b222d64486716e10a5612e /EssentialsChat
parente007331581d2c4c58daebdce0323a1d2a169728e (diff)
downloadEssentials-36e580474f409c7ad6b3634b83383da608485676.tar
Essentials-36e580474f409c7ad6b3634b83383da608485676.tar.gz
Essentials-36e580474f409c7ad6b3634b83383da608485676.tar.lz
Essentials-36e580474f409c7ad6b3634b83383da608485676.tar.xz
Essentials-36e580474f409c7ad6b3634b83383da608485676.zip
Converted emulated player class calls to use base class.
Diffstat (limited to 'EssentialsChat')
-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 7789dbeac..aa40a8148 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
@@ -47,7 +47,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.getBase());
+ Team team = user.getBase().getScoreboard().getPlayerTeam(user.getBase());
String format = ess.getSettings().getChatFormat(group);
format = format.replace("{0}", group);