Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folia support #2701

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Temporarily bypass a bug
  • Loading branch information
cavallium committed Jul 8, 2023
commit 0bef524960889a0c48c21ed3e55ad4f9c6d4699c
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ public void waitAllTasks() {

@Override
public void teleport(Player player, Location location) {
player.teleportAsync(location);
// player.teleportAsync(location);
// todo: remove the following line when https://github.com/PaperMC/Folia/issues/26 is fixed
player.getScheduler().run(authMe, task -> player.teleportAsync(location), null);
}
}