diff --git a/TempFly/src/com/moneybags/tempfly/fly/FlightManager.java b/TempFly/src/com/moneybags/tempfly/fly/FlightManager.java index 9fc7bdf..773be69 100644 --- a/TempFly/src/com/moneybags/tempfly/fly/FlightManager.java +++ b/TempFly/src/com/moneybags/tempfly/fly/FlightManager.java @@ -219,7 +219,7 @@ public synchronized void removeUser(UUID u, boolean reload) { * Called on plugin disable, saves users and cleans up. */ public void onDisable() { - for (FlightUser user : getUsers()) { + for (FlightUser user : new ArrayList<>(users.values())) { removeUser(user.getPlayer(), true); } }