diff --git a/pom.xml b/pom.xml
index 9ec0e9d..588e236 100644
--- a/pom.xml
+++ b/pom.xml
@@ -157,7 +157,7 @@
com.velocitypowered
velocity-api
- 3.1.2-SNAPSHOT
+ 3.2.0-SNAPSHOT
provided
diff --git a/src/main/java/me/feusalamander/vmessage/Listeners.java b/src/main/java/me/feusalamander/vmessage/Listeners.java
index f56e694..5b1a47e 100644
--- a/src/main/java/me/feusalamander/vmessage/Listeners.java
+++ b/src/main/java/me/feusalamander/vmessage/Listeners.java
@@ -8,6 +8,8 @@ import com.velocitypowered.api.proxy.Player;
import com.velocitypowered.api.proxy.ProxyServer;
import com.velocitypowered.api.proxy.ServerConnection;
import com.velocitypowered.api.proxy.server.RegisteredServer;
+import net.kyori.adventure.chat.ChatType;
+import net.kyori.adventure.chat.SignedMessage;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.minimessage.MiniMessage;
import net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer;
@@ -42,7 +44,7 @@ public final class Listeners {
return;
}
if(configuration.isAllEnabled()){
- e.setResult(PlayerChatEvent.ChatResult.message(""));
+ e.setResult(PlayerChatEvent.ChatResult.denied());
}
message(e.getPlayer(), e.getMessage());
}