aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-03-08 17:24:36 +0100
committer alemi <me@alemi.dev>2023-03-08 17:24:36 +0100
commit598c5c8ad388fe7caced581c41305ef7917ab255 (patch)
treedae3b215cdebbb49ea2195be910ef9baf2de91e5
parent7a6102dfbfbf8254b5beb14c4d1dd049a18ef1d4 (diff)
fix: moved prints afterwards
-rw-r--r--src/main/java/ftbsc/bscv/modules/AbstractModule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/AbstractModule.java b/src/main/java/ftbsc/bscv/modules/AbstractModule.java
index 3dbd82e..7227ea1 100644
--- a/src/main/java/ftbsc/bscv/modules/AbstractModule.java
+++ b/src/main/java/ftbsc/bscv/modules/AbstractModule.java
@@ -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