Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Commit

Permalink
fixed a biyouji
Browse files Browse the repository at this point in the history
  • Loading branch information
Arasple committed Jan 1, 2020
1 parent 49aa5cd commit 136b969
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void onChat(AsyncPlayerChatEvent e) {
}
if (TrChatFiles.getChannels().getBoolean("FORCE-GLOBAL") || e.getMessage().startsWith(TrChatFiles.getChannels().getString("FORCE-GLOBAL-PREFIX"))) {
e.setCancelled(true);
ChannelGlobal.execute(player, e.getMessage().replace(TrChatFiles.getSettings().getString("FORCE-GLOBAL-PREFIX"), ""));
ChannelGlobal.execute(player, e.getMessage().replace(TrChatFiles.getChannels().getString("FORCE-GLOBAL-PREFIX"), ""));
return;
}

Expand Down

0 comments on commit 136b969

Please sign in to comment.