LunaChat v2.7.7 : Fixed issue #138
このコミットが含まれているのは:
1 親
d3fa98509d
コミット
a7b28931e9
6ファイル変更
+122
-6
検索条件に一致するファイルはありません
@@ -703,8 +703,16 @@ public class ChannelImpl extends Channel {
|
||||
msg = msg.replace("%suffix", player.getSuffix());
|
||||
}
|
||||
|
||||
if ( msg.contains("%world") ) {
|
||||
msg = msg.replace("%world", player.getWorldName());
|
||||
if ( format.contains("%world") ) {
|
||||
|
||||
String worldname = null;
|
||||
if ( LunaChat.getInstance().getMultiverseCore() != null ) {
|
||||
worldname = LunaChat.getInstance().getMultiverseCore().getWorldAlias(player.getWorldName());
|
||||
}
|
||||
if ( worldname == null || worldname.equals("") ) {
|
||||
worldname = player.getWorldName();
|
||||
}
|
||||
format = format.replace("%world", worldname);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする