From 598c5c8ad388fe7caced581c41305ef7917ab255 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 8 Mar 2023 17:24:36 +0100 Subject: [PATCH] fix: moved prints afterwards --- src/main/java/ftbsc/bscv/modules/AbstractModule.java | 4 ++-- 1 file 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