LunaChat v2.8.5 : Fixed issue #147

このコミットが含まれているのは:
ucchy committed 2016-08-31 01:50:22 +09:00
1 親 680464636b
コミット c2512d0de2
7ファイル変更
+116 -7

検索条件に一致するファイルはありません

+11
ファイルの表示
@@ -750,15 +750,26 @@ public class ChannelImpl extends Channel {
* @param player プレイヤー
*/
private void log(String message, String name, ChannelPlayer player) {
// LunaChatのチャットログへ記録
LunaChatConfig config = LunaChat.getInstance().getLunaChatConfig();
if ( config.isLoggingChat() && logger != null ) {
logger.log(message, name);
}
// Hawkeye Reloaded のチャットログへ記録
if ( config.isLoggingChatToHawkEye() && LunaChat.getInstance().getHawkEye() != null
&& player != null && player.getLocation() != null ) {
LunaChat.getInstance().getHawkEye().writeLog(name, player.getLocation(),
"channel(" + getName() + ")-" + Utility.stripColor(message));
}
// Prism のチャットログへ記録
if ( config.isLoggingChatToPrism() && LunaChat.getInstance().getPrism() != null
&& player.getPlayer() != null ) {
LunaChat.getInstance().getPrism().writeLog(player.getPlayer(),
"channel(" + getName() + ")-" + Utility.stripColor(message));
}
}
/**