Set velocity chat listener to LAST

This commit is contained in:
Draycia committed 2023-06-09 21:20:49 -07:00
1 parent 14b229152e
commit ae620fe227
1 file changed
+2 -1
@@ -20,6 +20,7 @@
package net.draycia.carbon.velocity.listeners;
import com.google.inject.Inject;
import com.velocitypowered.api.event.PostOrder;
import com.velocitypowered.api.event.Subscribe;
import com.velocitypowered.api.event.player.PlayerChatEvent;
import com.velocitypowered.api.network.ProtocolVersion;
@@ -74,7 +75,7 @@ public final class VelocityChatListener {
this.carbonMessages = carbonMessages;
}
@Subscribe
@Subscribe(order = PostOrder.LAST)
public void onPlayerChat(final PlayerChatEvent event) {
if (!event.getResult().isAllowed()) {
return;