1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-01-17 13:28:30 +01:00

The event.getPlayer() is needed for the hook.

This commit is contained in:
snowleo 2011-07-19 11:29:16 +02:00
parent 17f3bc4494
commit 625164dac2
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -7,5 +7,5 @@ public interface IEssentialsChatListener
{
boolean shouldHandleThisChat(PlayerChatEvent event);
String modifyMessage(String message);
String modifyMessage(PlayerChatEvent event, String message);
}