mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 05:02:35 +00:00
Fix users not receiving permission updates
This commit is contained in:
4 files changed
+4
No files matched your search
@@ -140,6 +140,7 @@ public class JSONDatastore extends FlatfileDatastore {
|
||||
}, false);
|
||||
} finally {
|
||||
user.getIoLock().unlock();
|
||||
user.refreshPermissions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -179,6 +179,7 @@ public class MongoDBDatastore extends Datastore {
|
||||
}, false);
|
||||
} finally {
|
||||
user.getIoLock().unlock();
|
||||
user.refreshPermissions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -185,6 +185,7 @@ abstract class SQLDatastore extends Datastore {
|
||||
);
|
||||
} finally {
|
||||
user.getIoLock().unlock();
|
||||
user.refreshPermissions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@ public class YAMLDatastore extends FlatfileDatastore {
|
||||
}, false);
|
||||
} finally {
|
||||
user.getIoLock().unlock();
|
||||
user.refreshPermissions();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user