This commit is contained in:
Ganom
2019-05-26 22:52:12 -04:00
committed by GitHub
parent e2b32e6955
commit db6880976d

View File

@@ -249,7 +249,7 @@ public class CoxPlugin extends Plugin
{
final Matcher tpMatcher = TP_REGEX.matcher(chatMessage.getMessage());
String msg = chatMessage.getMessageNode().getValue();
if (chatMessage.getType() == ChatMessageType.PUBLICCHAT)
if (chatMessage.getType() == ChatMessageType.GAMEMESSAGE)
{
if (msg.toLowerCase().contains("The Great Olm rises with the power of".toLowerCase()))
{