Use AdminPrivateChat's new SendRawMessage method.

This commit is contained in:
cnaude 2015-02-23 07:50:15 -07:00
parent 73b84b0b4f
commit 7d279aa681
2 changed files with 2 additions and 2 deletions

View File

@ -40,6 +40,6 @@ public class AdminPrivateChatHook {
public void sendMessage(String message, String playername) { public void sendMessage(String message, String playername) {
plugin.logDebug("AdminPrivateChatHook: " + message); plugin.logDebug("AdminPrivateChatHook: " + message);
ac.methods.MessageBuild(message, playername, ""); ac.methods.SendRawMessage(message, playername, "");
} }
} }

View File

@ -126,7 +126,7 @@ message-format:
# AdminPrivateChat message from game to IRC # AdminPrivateChat message from game to IRC
game-a-chat: '[%WORLD%] <%NAME%> -> [AdminChat]: %MESSAGE%' game-a-chat: '[%WORLD%] <%NAME%> -> [AdminChat]: %MESSAGE%'
# AdminPrivateChat message from IRC to game # AdminPrivateChat message from IRC to game
irc-a-chat: '[&4IRC&r] %MESSAGE%' irc-a-chat: '[AdminChat] [&4IRC&r] %MESSAGE%'
# Message template for Clevernotch bot to IRC messages # Message template for Clevernotch bot to IRC messages
clever-send: '[&4BOT]<%NAME%> %MESSAGE%' clever-send: '[&4BOT]<%NAME%> %MESSAGE%'
# Message templates for mcMMO to IRC messages # Message templates for mcMMO to IRC messages