Secondary Check added to fly particles.
This commit is contained in:
parent
e6386be03b
commit
2adef31cf5
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user