diff options
author | KHobbits <rob@khobbits.co.uk> | 2014-04-13 01:01:49 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2014-04-13 01:01:49 +0100 |
commit | 36e580474f409c7ad6b3634b83383da608485676 (patch) | |
tree | 9de178009277a1d0e0b222d64486716e10a5612e /EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java | |
parent | e007331581d2c4c58daebdce0323a1d2a169728e (diff) | |
download | Essentials-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/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java')
-rw-r--r-- | EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java | 2 |
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); |