mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
I now know what these parameters are!
This commit is contained in:
parent
89d1ec3357
commit
1734505ac4
1 changed files with 2 additions and 2 deletions
|
@ -136,12 +136,12 @@ public class PonyManager implements IPonyManager, ResourceReloadListener, ISkinC
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@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(() -> {
|
return CompletableFuture.runAsync(() -> {
|
||||||
profiler.push("Reloading all background ponies");
|
profiler.push("Reloading all background ponies");
|
||||||
reloadAll(sender);
|
reloadAll(sender);
|
||||||
profiler.endTick();
|
profiler.endTick();
|
||||||
});
|
}, backendExecutor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reloadAll(ResourceManager resourceManager) {
|
public void reloadAll(ResourceManager resourceManager) {
|
||||||
|
|
Loading…
Reference in a new issue