Dumb thing 1

This commit is contained in:
Paul Reilly 2023-04-07 16:28:13 -05:00
parent 6566c7f305
commit 7967bfc9f8

View File

@ -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)