Fix sync tasks not being sync

This commit is contained in:
dordsor21
2021-01-08 12:59:33 +00:00
committed by Alexander Söderberg
parent 0a5c73478d
commit 7ac3f7ca03
6 changed files with 26 additions and 23 deletions

View File

@@ -92,7 +92,7 @@ import java.util.concurrent.TimeUnit;
}
@Override public void task(@Nonnull final Runnable runnable) {
new BukkitPlotSquaredTask(runnable).runTaskAsynchronously(this.bukkitMain);
new BukkitPlotSquaredTask(runnable).runTask(this.bukkitMain);
}
@Override public void taskLater(@Nonnull final Runnable runnable,