From cc13d9cf49bd682972f60dc57105356312a4bff9 Mon Sep 17 00:00:00 2001 From: allinkdev <44676012+allinkdev@users.noreply.github.com> Date: Wed, 5 Jul 2023 16:10:07 +0100 Subject: [PATCH] Remove UUID from vanished list on removal (#298) Co-authored-by: Ryan Co-authored-by: Paldiu --- src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java b/src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java index c19a0f35..40fb565a 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java @@ -157,7 +157,7 @@ public class Admin } // Ensure admins don't have admin functionality when removed (FS-222) - AdminList.vanished.remove(getName()); + AdminList.vanished.remove(getUuid()); if (plugin.esb != null) {