summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src/com/earth2me/essentials/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsChat/src/com/earth2me/essentials/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java b/EssentialsChat/src/com/earth2me/essentials/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java
deleted file mode 100644
index 3fcff995c..000000000
--- a/EssentialsChat/src/com/earth2me/essentials/chat/listenerlevel/EssentialsChatPlayerListenerLowest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package com.earth2me.essentials.chat.listenerlevel;
-
-import com.earth2me.essentials.api.IEssentials;
-import com.earth2me.essentials.api.IUser;
-import com.earth2me.essentials.chat.ChatStore;
-import com.earth2me.essentials.chat.EssentialsChatPlayer;
-import java.util.Map;
-import org.bukkit.Server;
-import org.bukkit.event.EventHandler;
-import org.bukkit.event.EventPriority;
-import org.bukkit.event.player.PlayerChatEvent;
-
-
-public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer
-{
- public EssentialsChatPlayerListenerLowest(final Server server,
- final IEssentials ess,
- final Map<PlayerChatEvent, ChatStore> chatStorage)
- {
- super(server, ess, chatStorage);
- }
-
- @EventHandler(priority = EventPriority.LOWEST)
- @Override
- public void onPlayerChat(final PlayerChatEvent event)
- {
- if (event.isCancelled())
- {
- return;
- }
- final IUser user = ess.getUser(event.getPlayer());
- final ChatStore chatStore = new ChatStore(ess, user, getChatType(event.getMessage()));
- setChatStore(event, chatStore);
- formatChat(event, chatStore);
- }
-} \ No newline at end of file