fix: moved prints afterwards
This commit is contained in:
parent
7a6102dfbf
commit
598c5c8ad3
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ public abstract class AbstractModule implements IModule {
|
||||||
if (!this.enabled.get()) {
|
if (!this.enabled.get()) {
|
||||||
this.enabled.set(true);
|
this.enabled.set(true);
|
||||||
this.enabled.save();
|
this.enabled.save();
|
||||||
log(String.format("%s ON", this.getName()));
|
|
||||||
}
|
}
|
||||||
|
log(String.format("%s ON", this.getName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void disable() {
|
public void disable() {
|
||||||
|
@ -83,8 +83,8 @@ public abstract class AbstractModule implements IModule {
|
||||||
if (this.enabled.get()) {
|
if (this.enabled.get()) {
|
||||||
this.enabled.set(false);
|
this.enabled.set(false);
|
||||||
this.enabled.save();
|
this.enabled.save();
|
||||||
log(String.format("%s OFF", this.getName()));
|
|
||||||
}
|
}
|
||||||
|
log(String.format("%s OFF", this.getName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue