Made block removing in the auto collect module run sync.

This commit is contained in:
Brianna 2020-07-24 09:27:55 -05:00
parent dd7c6dfcb5
commit e61e1bc6b3

View File

@ -58,7 +58,7 @@ public class ModuleAutoCollect extends Module {
BlockUtils.resetGrowthStage(block));
continue;
}
block.setType(Material.AIR);
Bukkit.getScheduler().runTask(plugin, () -> block.setType(Material.AIR));
}
}
}