diff --git a/src/main/java/de/Linus122/TelegramChat/Telegram.java b/src/main/java/de/Linus122/TelegramChat/Telegram.java index d4acaca..ef748cb 100755 --- a/src/main/java/de/Linus122/TelegramChat/Telegram.java +++ b/src/main/java/de/Linus122/TelegramChat/Telegram.java @@ -108,8 +108,9 @@ public class Telegram { for (TelegramActionListener actionListener : listeners) { actionListener.onSendToMinecraft(chatMsg); } - - Main.sendToMC(chatMsg); + if(!chatMsg.isCancelled()){ + Main.sendToMC(chatMsg); + } } else { this.sendMsg(chat.getId(), Utils.formatMSG("need-to-link")[0]); }