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()) {
|
||||
this.enabled.set(true);
|
||||
this.enabled.save();
|
||||
log(String.format("%s ON", this.getName()));
|
||||
}
|
||||
log(String.format("%s ON", this.getName()));
|
||||
}
|
||||
|
||||
public void disable() {
|
||||
|
@ -83,8 +83,8 @@ public abstract class AbstractModule implements IModule {
|
|||
if (this.enabled.get()) {
|
||||
this.enabled.set(false);
|
||||
this.enabled.save();
|
||||
log(String.format("%s OFF", this.getName()));
|
||||
}
|
||||
log(String.format("%s OFF", this.getName()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue