Fixed condition...
This commit is contained in:
parent
a2dd94f501
commit
a838678535
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public class DiscordSender implements CommandSender {
|
|||
}
|
||||
final String sendmsg = sanitizedMsg;
|
||||
Bukkit.getScheduler().runTaskAsynchronously(DiscordPlugin.plugin, () -> DiscordPlugin
|
||||
.sendMessageToChannel(channel, (broadcast ? user.mention() + " " : "") + sendmsg));
|
||||
.sendMessageToChannel(channel, (!broadcast ? user.mention() + " " : "") + sendmsg));
|
||||
} catch (Exception e) {
|
||||
TBMCCoreAPI.SendException("An error occured while sending message to DiscordSender", e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue