From 7faf71955525d992bc0dddecac30d0227dc84986 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 c3353d32..6154b097 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/admin/Admin.java @@ -156,7 +156,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) {