mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-27 01:33:05 +00:00
Implement locks to hopefully resolve race conditions with I/O - experimental
This commit is contained in:
22 files changed
+1159
-878
No files matched your search
@@ -40,18 +40,13 @@ public class TrackManager extends AbstractManager<String, Track> {
|
||||
.collect(Collectors.toSet());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void copy(Track from, Track to) {
|
||||
to.setGroups(from.getGroups());
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes a new track object
|
||||
* @param name The name of the track
|
||||
* @return a new {@link Track} object
|
||||
*/
|
||||
@Override
|
||||
public Track make(String name) {
|
||||
public Track apply(String name) {
|
||||
return new Track(name);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user