LunaChat v3-k2 : Bug fixed.

このコミットが含まれているのは:
ucchy committed 2020-06-07 00:12:11 +09:00
1 親 adfc7db64b
コミット fc6589d188
17ファイル変更
+449 -418

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

+3 -3
ファイルの表示
@@ -5,9 +5,9 @@
*/
package com.github.ucchyocean.lc3.command;
import com.github.ucchyocean.lc3.LunaChat;
import com.github.ucchyocean.lc3.LunaChatAPI;
import com.github.ucchyocean.lc3.Messages;
import com.github.ucchyocean.lc3.bukkit.LunaChatBukkit;
import com.github.ucchyocean.lc3.member.ChannelMember;
/**
@@ -40,7 +40,7 @@ public class LunaChatJapanizeCommand {
// Japanize設定をon/offにする
boolean value = args[0].equalsIgnoreCase("on");
LunaChatAPI api = LunaChatBukkit.getInstance().getLunaChatAPI();
LunaChatAPI api = LunaChat.getAPI();
api.setPlayersJapanize(sender.getName(), value);
sender.sendMessage(Messages.cmdmsgPlayerJapanize(args[0]));
@@ -65,7 +65,7 @@ public class LunaChatJapanizeCommand {
// Japanize設定をon/offにする
boolean value = args[1].equalsIgnoreCase("on");
LunaChatAPI api = LunaChatBukkit.getInstance().getLunaChatAPI();
LunaChatAPI api = LunaChat.getAPI();
api.setPlayersJapanize(target.getName(), value);
target.sendMessage(Messages.cmdmsgPlayerJapanize(args[1]));