LunaChat v2.6.5 : issue #95 (wip)
このコミットが含まれているのは:
1 親
4ecbe10636
コミット
a0712c89fc
5ファイル変更
+51
-7
検索条件に一致するファイルはありません
@@ -128,7 +128,12 @@ public class LunaChatMessageCommand implements CommandExecutor {
|
||||
*/
|
||||
protected void sendResourceMessage(CommandSender sender, String pre,
|
||||
String key, Object... args) {
|
||||
String msg = String.format(pre + Resources.get(key), args);
|
||||
|
||||
String org = Resources.get(key);
|
||||
if ( org == null || org.equals("") ) {
|
||||
return;
|
||||
}
|
||||
String msg = String.format(pre + org, args);
|
||||
sender.sendMessage(msg);
|
||||
}
|
||||
|
||||
@@ -141,7 +146,12 @@ public class LunaChatMessageCommand implements CommandExecutor {
|
||||
*/
|
||||
protected void sendResourceMessage(ChannelPlayer cp, String pre,
|
||||
String key, Object... args) {
|
||||
String msg = String.format(pre + Resources.get(key), args);
|
||||
|
||||
String org = Resources.get(key);
|
||||
if ( org == null || org.equals("") ) {
|
||||
return;
|
||||
}
|
||||
String msg = String.format(pre + org, args);
|
||||
cp.sendMessage(msg);
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする