This commit is contained in:
Norbi Peti 2016-12-04 01:52:52 +01:00
commit e8444636b8

View file

@ -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);
}