LunaChat v2.6.8 : Fixed issue #104
このコミットが含まれているのは:
1 親
26ceb8db45
コミット
1fe273fa58
8ファイル変更
+312
検索条件に一致するファイルはありません
@@ -94,6 +94,8 @@ public class DelayedJapanizeConvertTask extends BukkitRunnable {
|
||||
keywords.add(player.getName());
|
||||
}
|
||||
}
|
||||
HashMap<String, String> dictionary =
|
||||
LunaChat.getInstance().getLunaChatAPI().getAllDictionary();
|
||||
|
||||
// カラーコード削除、URL削除
|
||||
String deletedURL = Utility.stripColor(org.replaceAll(REGEX_URL, " "));
|
||||
@@ -109,6 +111,14 @@ public class DelayedJapanizeConvertTask extends BukkitRunnable {
|
||||
keywordMap.put(key, keyword);
|
||||
}
|
||||
}
|
||||
for ( String dickey : dictionary.keySet() ) {
|
||||
if ( keywordLocked.contains(dickey) ) {
|
||||
index++;
|
||||
String key = "<" + index + ">";
|
||||
keywordLocked = keywordLocked.replace(dickey, key);
|
||||
keywordMap.put(key, dictionary.get(dickey));
|
||||
}
|
||||
}
|
||||
|
||||
// カナ変換
|
||||
String japanized = KanaConverter.conv(keywordLocked);
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする