From bc72e925dff78f9ee4620a3701822af2ae2bb827 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 17 Nov 2024 08:03:15 -0600 Subject: [PATCH] Remove manifold string plugin --- build.gradle | 3 --- .../seibel/distanthorizons/common/commands/ConfigCommand.java | 4 ++-- coreSubProjects | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 9add0a085..673d3827a 100644 --- a/build.gradle +++ b/build.gradle @@ -184,9 +184,6 @@ subprojects { p -> annotationProcessor("systems.manifold:manifold-preprocessor:${rootProject.manifold_version}") } - annotationProcessor("systems.manifold:manifold-strings:${rootProject.manifold_version}") - testAnnotationProcessor("systems.manifold:manifold-strings:${rootProject.manifold_version}") - // Log4j if (p == project(":core")) { diff --git a/common/src/main/java/com/seibel/distanthorizons/common/commands/ConfigCommand.java b/common/src/main/java/com/seibel/distanthorizons/common/commands/ConfigCommand.java index ff4cbaf64..a55921374 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/commands/ConfigCommand.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/commands/ConfigCommand.java @@ -57,11 +57,11 @@ public class ConfigCommand extends AbstractCommand } LiteralArgumentBuilder subcommand = literal(configEntry.getServersideShortName()) - .executes(commandContext -> this.sendSuccessResponse(commandContext, "Current value of ${configEntry.getServersideShortName()} is ${configEntry.get()}")); + .executes(commandContext -> this.sendSuccessResponse(commandContext, "Current value of ["+configEntry.getServersideShortName()+"] is ["+configEntry.get()+"]")); ToIntBiFunction, Object> updateConfigValue = (commandContext, value) -> { configEntry.set(value); - return this.sendSuccessResponse(commandContext, "Changed the value of ${configEntry.getServersideShortName()} to $value"); + return this.sendSuccessResponse(commandContext, "Changed the value of ["+configEntry.getServersideShortName()+"] to ["+value+"]"); }; // Enum type needs a special case since enums aren't represented by existing argument type diff --git a/coreSubProjects b/coreSubProjects index 37dd0c4d5..9f966f064 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 37dd0c4d55e94b638307f9b51c76c541acb768aa +Subproject commit 9f966f0643f2612e7e9c398ca31d157ef00c25f6