LunaChat v3.0.7 : Fixed issue #182
このコミットが含まれているのは:
1 親
978100ab02
コミット
7874d47b33
8ファイル変更
+103
-37
検索条件に一致するファイルはありません
@@ -42,9 +42,6 @@ import com.github.ucchyocean.lc3.member.ChannelMember;
|
||||
*/
|
||||
public class LunaChatBukkit extends JavaPlugin implements PluginInterface {
|
||||
|
||||
/** Bukkit-BungeeCord間の送受信に使用するチャンネル名 */
|
||||
private static final String CHANNEL = "lunachat:message";
|
||||
|
||||
private static LunaChatBukkit instance;
|
||||
|
||||
private LunaChatConfig config;
|
||||
@@ -141,7 +138,7 @@ public class LunaChatBukkit extends JavaPlugin implements PluginInterface {
|
||||
LunaChat.setEventSender(new BukkitEventSender());
|
||||
|
||||
// プラグインチャンネル登録
|
||||
getServer().getMessenger().registerOutgoingPluginChannel(this, CHANNEL);
|
||||
getServer().getMessenger().registerOutgoingPluginChannel(this, LunaChat.PMC_MESSAGE);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -319,6 +316,6 @@ public class LunaChatBukkit extends JavaPlugin implements PluginInterface {
|
||||
* @param bytes 送信内容
|
||||
*/
|
||||
public void sendPluginMessage(byte[] bytes) {
|
||||
getServer().sendPluginMessage(this, CHANNEL, bytes);
|
||||
getServer().sendPluginMessage(this, LunaChat.PMC_MESSAGE, bytes);
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする