From 95f828c2822f9c4159479d620db4da8a560bb839 Mon Sep 17 00:00:00 2001 From: alemi Date: Sun, 19 Feb 2023 23:47:23 +0100 Subject: chore: better toggle text --- src/main/java/ftbsc/bscv/modules/Module.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/java/ftbsc') 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)); } } -- cgit v1.2.3-56-ga3b1