mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-31 04:21:35 +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);
|
UUID uuid = names.get(name);
|
||||||
if (uuid != null) {
|
if (uuid != null) {
|
||||||
keys.remove(uuid);
|
keys.remove(uuid);
|
||||||
users.invalidate(uuid);
|
users.invalidate(uuid.toString());
|
||||||
}
|
}
|
||||||
names.remove(name);
|
names.remove(name);
|
||||||
names.remove(StringUtil.safeString(name));
|
names.remove(StringUtil.safeString(name));
|
||||||
|
Loading…
Reference in New Issue
Block a user