Skip to content

Commit

Permalink
LunaChat v3.0.14 : Fixed issue #210
Browse files Browse the repository at this point in the history
  • Loading branch information
ucchyocean committed Sep 12, 2020
1 parent d403b16 commit 5f5a8c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ucchyocean</groupId>
<artifactId>LunaChat</artifactId>
<version>3.0.13</version>
<version>3.0.14</version>
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>
<url>https://github.com/ucchyocean/LunaChat</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,12 @@ private void processChatEvent(ChatEvent event) {
return;
}

// 発言内容を処理する
processChat(ChannelMember.getChannelMember(event.getSender()), event.getMessage());
// 発言内容を非同期で処理する
ProxyServer.getInstance().getScheduler().runAsync(LunaChatBungee.getInstance(), new Runnable() {
public void run() {
processChat(ChannelMember.getChannelMember(event.getSender()), event.getMessage());
}
});

// イベントをキャンセル
event.setCancelled(true);
Expand Down

0 comments on commit 5f5a8c2

Please sign in to comment.