mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-21 04:32:38 +00:00
bug fixes
This commit is contained in:
21 files changed
+71
-59
No files matched your search
@@ -61,7 +61,7 @@ public abstract class AbstractManager<I, T extends Identifiable<I>> {
|
||||
public void updateOrSet(T t) {
|
||||
if (!isLoaded(t.getId())) {
|
||||
// The object isn't already loaded
|
||||
objects.put(t.getId(), t);
|
||||
set(t);
|
||||
} else {
|
||||
copy(t, objects.get(t.getId()));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user