summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java2
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/IEssentialsChatListener.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
index 28adf9c2c..634dc7157 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListener.java
@@ -120,7 +120,7 @@ public class EssentialsChatPlayerListener extends PlayerListener
for (IEssentialsChatListener listener : listeners.values())
{
- message = listener.modifyMessage(message);
+ message = listener.modifyMessage(event, message);
}
//if (factions != null)
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/IEssentialsChatListener.java b/EssentialsChat/src/com/earth2me/essentials/chat/IEssentialsChatListener.java
index 9cd1157e0..e8467fea7 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/IEssentialsChatListener.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/IEssentialsChatListener.java
@@ -7,5 +7,5 @@ public interface IEssentialsChatListener
{
boolean shouldHandleThisChat(PlayerChatEvent event);
- String modifyMessage(String message);
+ String modifyMessage(PlayerChatEvent event, String message);
}