aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
diff options
context:
space:
mode:
authormdxd44 <ogurec332@mail.ru>2021-12-23 12:15:10 +0900
committermdxd44 <ogurec332@mail.ru>2021-12-23 12:15:10 +0900
commit5fe79b92327c082384068fa45c3b1d2691800e3d (patch)
treeae8ab7382d969baa807da7d94c2a81bff8ba0405 /src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
parentcff1b4a22bb47c8bcf064d5e8da8c7d7ef67ea52 (diff)
downloadLimboAuth-5fe79b92327c082384068fa45c3b1d2691800e3d.tar.gz
LimboAuth-5fe79b92327c082384068fa45c3b1d2691800e3d.tar.bz2
LimboAuth-5fe79b92327c082384068fa45c3b1d2691800e3d.zip
Titles, auth time, bossbar, max and min auth time, unsafe passwords. (Closes LimboAPI#8)
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
index 27dff72..b0e6cf4 100644
--- a/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
+++ b/src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java
@@ -49,7 +49,7 @@ public class DestroySessionCommand implements SimpleCommand {
return;
}
- this.plugin.removePlayerFromCache((Player) source);
+ this.plugin.removePlayerFromCache(((Player) source).getUsername());
source.sendMessage(this.successful);
}