fix: moved prints afterwards

This commit is contained in:
əlemi 2023-03-08 17:24:36 +01:00
parent 7a6102dfbf
commit 598c5c8ad3
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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