mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-26 17:05:01 +00:00
Dumb thing 1
This commit is contained in:
parent
6566c7f305
commit
7967bfc9f8
@ -3,6 +3,7 @@ package me.totalfreedom.totalfreedommod.perms;
|
||||
import net.luckperms.api.track.Track;
|
||||
import net.luckperms.api.track.TrackManager;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
@ -14,7 +15,8 @@ public class TrackWrapper
|
||||
public TrackWrapper(TrackManager manager)
|
||||
{
|
||||
this.manager = manager;
|
||||
this.trackSet = manager.getLoadedTracks();
|
||||
this.trackSet = new HashSet<>();
|
||||
trackSet.addAll(manager.getLoadedTracks());
|
||||
}
|
||||
|
||||
public CompletableFuture<Track> getTrack(String name)
|
||||
|
Loading…
Reference in New Issue
Block a user