|
@@ -156,6 +156,7 @@ public class Main extends JavaPlugin implements Listener{
|
|
}
|
|
}
|
|
@EventHandler
|
|
@EventHandler
|
|
public void onChat(AsyncPlayerChatEvent e){
|
|
public void onChat(AsyncPlayerChatEvent e){
|
|
|
|
+ if(!this.getConfig().getBoolean("enable-chatmessages")) return;
|
|
if(Telegram.connected){
|
|
if(Telegram.connected){
|
|
Chat chat = new Chat();
|
|
Chat chat = new Chat();
|
|
chat.parse_mode = "Markdown";
|
|
chat.parse_mode = "Markdown";
|