summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-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