LunaChat v2.6.11 : Fixed bug about issue #111.

このコミットが含まれているのは:
ucchy committed 2014-11-20 23:12:46 +09:00
1 親 24850a1b12
コミット f7d710c35e
4ファイル変更
+5 -3

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

+1 -1
ファイルの表示
@@ -54,7 +54,7 @@ public class Resources {
if ( resources == null ) {
initialize();
}
String def = defaultMessages.getString(key, "");
String def = defaultMessages.getString(key);
return Utility.replaceColorCode(resources.getString(key, def));
}
+2
ファイルの表示
@@ -120,6 +120,7 @@ public class Utility {
* @return 置き換え後の文字列
*/
public static String replaceColorCode(String source) {
if ( source == null ) return null;
return ChatColor.translateAlternateColorCodes('&', source);
}
@@ -129,6 +130,7 @@ public class Utility {
* @return 置き換え後の文字列
*/
public static String stripColor(String source) {
if ( source == null ) return null;
return ChatColor.stripColor(source);
}
+1 -1
ファイルの表示
@@ -110,7 +110,7 @@ public class HideCommand extends SubCommandAbst {
}
// 指定されたコマンドが「/ch hide list」なら、リストを表示して終了
if ( cname.equals("list") ) {
if ( cname != null && cname.equals("list") ) {
for ( String item : getHideInfoList(player) ) {
player.sendMessage(item);
}