Don't run /ppo async to avoid race conditions

This commit is contained in:
Esophose 2020-11-27 18:38:56 -07:00
parent f06b81a54d
commit 356d700c78

View file

@ -176,7 +176,7 @@ public class CommandManager extends Manager implements CommandExecutor, TabCompl
return true;
} else if (cmd.getName().equalsIgnoreCase("ppo")) {
Bukkit.getScheduler().runTaskAsynchronously(this.playerParticles, () -> this.ppoCommand.onCommandExecute(sender, args));
Bukkit.getScheduler().runTask(this.playerParticles, () -> this.ppoCommand.onCommandExecute(sender, args));
}
return true;