Secondary Check added to fly particles.

This commit is contained in:
ProSavage 2018-09-10 10:05:16 -05:00
parent e6386be03b
commit 2adef31cf5
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ public class CmdFly extends FCommand {
}
public static void startParticles() {
// Just a secondary check.
if (!P.p.getConfig().getBoolean("ffly.Particles.Enabled")) {
return;
}
id = Bukkit.getScheduler().scheduleSyncRepeatingTask(P.p, new Runnable() {
@Override
public void run() {