Compare commits

..

No commits in common. "3e329d99cd0ba6a94e4a03052b860c40b8fa9479" and "ba44cc3bc054e228cfd921c5c1108634cdbbae23" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,6 @@ public class KrakatoaAPI extends JavaPlugin {
super.onDisable();
this.mongoManager.shutdown();
this.redisManager.shutdown();
this.kraSocketClient.getSocketClient().getConnection().close();
this.kraSocketClient.getSocketClient().getConnection().closeConnection(1, "");

View File

@ -8,6 +8,7 @@ import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerQuitEvent;
import org.redisson.api.RMap;
import java.util.Map;
import java.util.Objects;
public class PlayerQuitListener implements Listener {
@ -24,7 +25,7 @@ public class PlayerQuitListener implements Listener {
* Saving the player location when disconnecting for the next server join
*/
if (!CloudNetDriver.getInstance().getComponentName().startsWith("Lobby")) {
RMap<Object, Object> map = KrakatoaAPI.getInstance().getRedisManager().getPlayer(uuid);
Map<Object, Object> map = KrakatoaAPI.getInstance().getRedisManager().getPlayer(uuid);
KrakatoaAPI.getInstance().getLogger().info("quit " + map.keySet());