mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2024-11-25 20:25:37 +01:00
Address async issue
https://github.com/BentoBoxWorld/AcidIsland/issues/112
This commit is contained in:
parent
dd91440201
commit
f30203f547
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user