aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
index 95e002c..53f460f 100644
--- a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
+++ b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
@@ -24,6 +24,7 @@ import com.velocitypowered.api.proxy.Player;
import net.elytrium.java.commons.mc.serialization.Serializer;
import net.elytrium.limboauth.LimboAuth;
import net.elytrium.limboauth.Settings;
+import net.kyori.adventure.audience.MessageType;
import net.kyori.adventure.text.Component;
public class DestroySessionCommand implements SimpleCommand {
@@ -47,9 +48,9 @@ public class DestroySessionCommand implements SimpleCommand {
if (source instanceof Player) {
this.plugin.removePlayerFromCache(((Player) source).getUsername());
- source.sendMessage(this.successful);
+ source.sendMessage(this.successful, MessageType.SYSTEM);
} else {
- source.sendMessage(this.notPlayer);
+ source.sendMessage(this.notPlayer, MessageType.SYSTEM);
}
}