mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2024-12-31 20:02:12 +00:00
Don't run /ppo async to avoid race conditions
This commit is contained in:
parent
f06b81a54d
commit
356d700c78
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ public class CommandManager extends Manager implements CommandExecutor, TabCompl
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} else if (cmd.getName().equalsIgnoreCase("ppo")) {
|
} 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;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue