Address async issue

https://github.com/BentoBoxWorld/AcidIsland/issues/112
This commit is contained in:
tastybento 2021-06-20 08:37:57 -07:00
parent dd91440201
commit f30203f547

View File

@ -38,7 +38,7 @@ public class AcidTask {
*/
public AcidTask(AcidIsland addon) {
this.addon = addon;
findMobsTask = Bukkit.getScheduler().runTaskTimerAsynchronously(addon.getPlugin(), this::findEntities, 0L, 20L);
findMobsTask = Bukkit.getScheduler().runTaskTimer(addon.getPlugin(), this::findEntities, 0L, 20L);
}
void findEntities() {