I now know what these parameters are!

This commit is contained in:
Sollace 2019-06-01 20:37:02 +02:00
parent 89d1ec3357
commit 1734505ac4

View file

@ -136,12 +136,12 @@ public class PonyManager implements IPonyManager, ResourceReloadListener, ISkinC
}
@Override
public CompletableFuture<Void> reload(Synchronizer sync, ResourceManager sender, Profiler profiler, Profiler profile2, Executor executor, Executor executor2) {
public CompletableFuture<Void> reload(Synchronizer sync, ResourceManager sender, Profiler profiler, Profiler profile2, Executor backendExecutor, Executor mainThreadExecutor) {
return CompletableFuture.runAsync(() -> {
profiler.push("Reloading all background ponies");
reloadAll(sender);
profiler.endTick();
});
}, backendExecutor);
}
public void reloadAll(ResourceManager resourceManager) {