From 2adef31cf56cc4ee4a8811a97d84b1942f180ab4 Mon Sep 17 00:00:00 2001 From: ProSavage Date: Mon, 10 Sep 2018 10:05:16 -0500 Subject: [PATCH] Secondary Check added to fly particles. --- src/main/java/com/massivecraft/factions/cmd/CmdFly.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/massivecraft/factions/cmd/CmdFly.java b/src/main/java/com/massivecraft/factions/cmd/CmdFly.java index fcaf70ff..fdc4c68d 100644 --- a/src/main/java/com/massivecraft/factions/cmd/CmdFly.java +++ b/src/main/java/com/massivecraft/factions/cmd/CmdFly.java @@ -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() {