From 1d5463fed7e8bb653d45013b64b6c8275a7f52b1 Mon Sep 17 00:00:00 2001 From: Fabrizio La Rosa Date: Mon, 15 Jun 2020 16:30:11 +0200 Subject: [PATCH] Unload players on logout, not load --- src/main/java/com/songoda/skyblock/listeners/Quit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/skyblock/listeners/Quit.java b/src/main/java/com/songoda/skyblock/listeners/Quit.java index 8245dd93..6e4b735f 100644 --- a/src/main/java/com/songoda/skyblock/listeners/Quit.java +++ b/src/main/java/com/songoda/skyblock/listeners/Quit.java @@ -165,6 +165,6 @@ public class Quit implements Listener { } }); // Unload Challenge - SkyBlock.getInstance().getFabledChallenge().getPlayerManager().loadPlayer(event.getPlayer().getUniqueId()); + SkyBlock.getInstance().getFabledChallenge().getPlayerManager().unloadPlayer(event.getPlayer().getUniqueId()); } }