mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-18 14:11:40 +01:00
Fix cache invalidation when resetting user
This commit is contained in:
parent
e0a578d06c
commit
d41af02ade
@ -183,7 +183,7 @@ public class UserMap extends CacheLoader<String, User> implements IConf {
|
||||
UUID uuid = names.get(name);
|
||||
if (uuid != null) {
|
||||
keys.remove(uuid);
|
||||
users.invalidate(uuid);
|
||||
users.invalidate(uuid.toString());
|
||||
}
|
||||
names.remove(name);
|
||||
names.remove(StringUtil.safeString(name));
|
||||
|
Loading…
Reference in New Issue
Block a user