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 | 5a4dd00e30e96ceaefc4632a4c182375afd526aa (patch) | |
tree | 678077863d36f505e2cac93471aa42cb8e5113f4 /EssentialsChat/src/com/earth2me/essentials/chat | |
parent | 19ff2175e2d3d160f7245cd98597ba1fa7e6fcd3 (diff) | |
download | Essentials-5a4dd00e30e96ceaefc4632a4c182375afd526aa.tar Essentials-5a4dd00e30e96ceaefc4632a4c182375afd526aa.tar.gz Essentials-5a4dd00e30e96ceaefc4632a4c182375afd526aa.tar.lz Essentials-5a4dd00e30e96ceaefc4632a4c182375afd526aa.tar.xz Essentials-5a4dd00e30e96ceaefc4632a4c182375afd526aa.zip |
Converted emulated player class calls to use base class.
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat')
-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); |