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, 2 insertions, 3 deletions
diff --git a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
index 53f460f..95e002c 100644
--- a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
+++ b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
@@ -24,7 +24,6 @@ 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 {
@@ -48,9 +47,9 @@ public class DestroySessionCommand implements SimpleCommand {
if (source instanceof Player) {
this.plugin.removePlayerFromCache(((Player) source).getUsername());
- source.sendMessage(this.successful, MessageType.SYSTEM);
+ source.sendMessage(this.successful);
} else {
- source.sendMessage(this.notPlayer, MessageType.SYSTEM);
+ source.sendMessage(this.notPlayer);
}
}