Fix InstalledPluginGatheringTask running on server thread

This commit is contained in:
Aurora Lahtela 2024-03-09 21:15:43 +02:00
parent de9f9ec5b4
commit 7299e10064

View File

@ -57,7 +57,7 @@ public class InstalledPluginGatheringTask extends TaskSystem.Task {
@Override
public void register(RunnableFactory runnableFactory) {
runnableFactory.create(this)
.runTaskLater(20, TimeUnit.SECONDS);
.runTaskLaterAsynchronously(20, TimeUnit.SECONDS);
}
@Override