LunaChat v2.7.7 : Fixed issue #138

このコミットが含まれているのは:
ucchy committed 2015-12-27 18:58:22 +09:00
1 親 d3fa98509d
コミット a7b28931e9
6ファイル変更
+122 -6

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

+10 -2
ファイルの表示
@@ -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 {