Secondary Check added to fly particles.

This commit is contained in:
ProSavage 2018-09-10 10:05:16 -05:00
parent e6386be03b
commit 2adef31cf5

View File

@ -38,6 +38,11 @@ public class CmdFly extends FCommand {
} }
public static void startParticles() { 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() { id = Bukkit.getScheduler().scheduleSyncRepeatingTask(P.p, new Runnable() {
@Override @Override
public void run() { public void run() {