From bdd700c9c64dd0f13c1a5b7d8f0251cc3949bf04 Mon Sep 17 00:00:00 2001 From: Alyssa May Date: Mon, 7 Feb 2022 21:49:49 -0800 Subject: [PATCH] Fix proxied messages not getting logged to console --- src/main/java/com/omnipico/pluralkitmc/ProxyListener.java | 1 + src/main/resources/plugin.yml | 2 +- target/classes/plugin.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/omnipico/pluralkitmc/ProxyListener.java b/src/main/java/com/omnipico/pluralkitmc/ProxyListener.java index 140f79f..5036a3a 100644 --- a/src/main/java/com/omnipico/pluralkitmc/ProxyListener.java +++ b/src/main/java/com/omnipico/pluralkitmc/ProxyListener.java @@ -138,6 +138,7 @@ public void onChat(AsyncPlayerChatEvent event) { discord.processChatMessage(player, message, "global", false); } } + Bukkit.getConsoleSender().spigot().sendMessage(sendable); event.setCancelled(true); } } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 8b9686f..712378c 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: PluralKitMC -version: 0.4.10 +version: 0.4.11 author: Allymonies main: com.omnipico.pluralkitmc.PluralKitMC api-version: 1.18 diff --git a/target/classes/plugin.yml b/target/classes/plugin.yml index 8b9686f..712378c 100644 --- a/target/classes/plugin.yml +++ b/target/classes/plugin.yml @@ -1,5 +1,5 @@ name: PluralKitMC -version: 0.4.10 +version: 0.4.11 author: Allymonies main: com.omnipico.pluralkitmc.PluralKitMC api-version: 1.18