From 5fe79b92327c082384068fa45c3b1d2691800e3d Mon Sep 17 00:00:00 2001 From: mdxd44 Date: Thu, 23 Dec 2021 12:15:10 +0900 Subject: Titles, auth time, bossbar, max and min auth time, unsafe passwords. (Closes LimboAPI#8) --- src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/elytrium/limboauth/command/DestroySessionCommand.java') 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); } -- cgit