aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/ftbsc/bscv/modules/Module.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/Module.java b/src/main/java/ftbsc/bscv/modules/Module.java
index d2c5598..3cdc50a 100644
--- a/src/main/java/ftbsc/bscv/modules/Module.java
+++ b/src/main/java/ftbsc/bscv/modules/Module.java
@@ -82,11 +82,11 @@ public abstract class Module {
T value = ctx.getArgument(name, clazz);
conf.set(value);
conf.save();
- log(String.format("> %s -> %s", String.join(".", conf.getPath()), conf.get().toString()));
+ log(String.format("> %s -> %s <", String.join(".", conf.getPath()), conf.get().toString()));
return 1;
}))
.executes(ctx -> {
- log(String.format("> %s: %s", String.join(".", conf.getPath()), conf.get().toString()));
+ log(String.format("> %s: %s <", String.join(".", conf.getPath()), conf.get().toString()));
return 1;
})
)
@@ -118,11 +118,11 @@ public abstract class Module {
T value = ctx.getArgument(name, clazz);
conf.set(value);
conf.save();
- log(String.format("> %s -> %s", String.join(".", conf.getPath()), conf.get().toString()));
+ log(String.format("> %s -> %s <", String.join(".", conf.getPath()), conf.get().toString()));
return 1;
}))
.executes(ctx -> {
- log(String.format("> %s: %s", name, conf.get().toString()));
+ log(String.format("> %s: %s <", name, conf.get().toString()));
return 1;
})
)
@@ -144,7 +144,7 @@ public abstract class Module {
this.enabled.set(true);
// this.enabled.save();
this.onEnabled();
- log(String.format("%s enabled", this.name));
+ log(String.format("%s ON", this.name));
}
public final void disable() {
@@ -152,6 +152,6 @@ public abstract class Module {
this.enabled.set(false);
// this.enabled.save();
this.onDisabled();
- log(String.format("%s disabled", this.name));
+ log(String.format("%s OFF", this.name));
}
}