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() {
|
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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user