diff --git a/libjf-config-v0/src/main/java/io/gitlab/jfronny/libjf/config/impl/JfConfigCommand.java b/libjf-config-v0/src/main/java/io/gitlab/jfronny/libjf/config/impl/JfConfigCommand.java index 654e562..7fc5083 100644 --- a/libjf-config-v0/src/main/java/io/gitlab/jfronny/libjf/config/impl/JfConfigCommand.java +++ b/libjf-config-v0/src/main/java/io/gitlab/jfronny/libjf/config/impl/JfConfigCommand.java @@ -104,7 +104,7 @@ public class JfConfigCommand implements ModInitializer { private void registerEntry(ConfigInstance config, String subpath, LiteralArgumentBuilder cns, EntryInfo entry) { LiteralArgumentBuilder c_entry = literal(entry.getName()).executes(context -> { - context.getSource().sendFeedback(Text.literal("[libjf-config-v0] The value of " + subpath + entry.getName() + " is " + tryRun(entry::getValue)), false); + context.getSource().sendFeedback(Text.literal("[libjf-config-v0] The value of " + subpath + "." + entry.getName() + " is " + tryRun(entry::getValue)), false); return Command.SINGLE_SUCCESS; }); ArgumentType type = getType(entry); @@ -112,7 +112,7 @@ public class JfConfigCommand implements ModInitializer { c_entry.then(argument("value", type).executes(context -> { T value = context.getArgument("value", entry.getValueType()); tryRun(() -> entry.setValue(value)); - context.getSource().sendFeedback(Text.literal("[libjf-config-v0] Set " + subpath + entry.getName() + " to " + value), true); + context.getSource().sendFeedback(Text.literal("[libjf-config-v0] Set " + subpath + "." + entry.getName() + " to " + value), true); return Command.SINGLE_SUCCESS; })); } @@ -120,7 +120,7 @@ public class JfConfigCommand implements ModInitializer { for (T enumConstant : entry.getValueType().getEnumConstants()) { c_entry.then(literal(enumConstant.toString()).executes(context -> { tryRun(() -> entry.setValue(enumConstant)); - context.getSource().sendFeedback(Text.literal("[libjf-config-v0] Set " + subpath + entry.getName() + " to " + enumConstant), true); + context.getSource().sendFeedback(Text.literal("[libjf-config-v0] Set " + subpath + "." + entry.getName() + " to " + enumConstant), true); return Command.SINGLE_SUCCESS; })); }