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:
@@ -206,7 +206,7 @@ public class WintertodtPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onSetMessage(ChatMessage chatMessage)
|
public void onChatMessage(ChatMessage chatMessage)
|
||||||
{
|
{
|
||||||
if (!isInWintertodt)
|
if (!isInWintertodt)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class ChatNotificationsPluginTest
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void onSetMessage()
|
public void onChatMessage()
|
||||||
{
|
{
|
||||||
when(config.highlightWordsString()).thenReturn("Deathbeam, Deathbeam OSRS , test");
|
when(config.highlightWordsString()).thenReturn("Deathbeam, Deathbeam OSRS , test");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user