Migrate onSetMessage to onChatMessage

These were probably just missed. They cause warnings in the console and
make it so the Wintertodt plugin doesn't start
This commit is contained in:
Henry Zhang
2019-02-07 22:58:44 -08:00
parent 1ef57e3dd5
commit 4e6552a1f1
2 changed files with 2 additions and 2 deletions

View File

@@ -206,7 +206,7 @@ public class WintertodtPlugin extends Plugin
}
@Subscribe
public void onSetMessage(ChatMessage chatMessage)
public void onChatMessage(ChatMessage chatMessage)
{
if (!isInWintertodt)
{

View File

@@ -76,7 +76,7 @@ public class ChatNotificationsPluginTest
}
@Test
public void onSetMessage()
public void onChatMessage()
{
when(config.highlightWordsString()).thenReturn("Deathbeam, Deathbeam OSRS , test");