summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-02-19 23:47:23 +0100
committer alemi <me@alemi.dev>2023-02-19 23:47:23 +0100
commit95f828c2822f9c4159479d620db4da8a560bb839 (patch)
tree346af7609b283615e8b3ada41c97e8f34d30e988 /src/main/java/ftbsc
parent15a2b1ac090e62b42cd399a5590453c5022e204e (diff)
chore: better toggle text
Diffstat (limited to 'src/main/java/ftbsc')
-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));
}
}