You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/client/java/tools/redstone/redstonetools/malilib/config/Configs.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,12 @@ public static class Toggles {
57
57
}
58
58
59
59
publicstaticclassClientData {
60
+
publicstaticfinalConfigBooleanENABLE_MATH_VARIABLES = newConfigBoolean("Enable math and variables for the chat input suggester", true,
61
+
"""
62
+
Whether or not to try to inject variables and math expressions into the command input suggester.
63
+
64
+
With this enabled, Redstone tools will attempt to prevent chat suggestion from breaking if you're using variables and or math expressions inside of a command.
65
+
With this disabled, variables and math expressions will still be inserted upon sending a chat command""");
60
66
publicstaticfinalConfigStringVARIABLE_BEGIN_STRING = newConfigString("Variable begin string", "'", "The string that should be used to denote the start of a variable. Can be empty");
61
67
publicstaticfinalConfigStringVARIABLE_END_STRING = newConfigString("Variable end string", "'", "The string that should be used to denote the end of a variable. Can be empty");
62
68
publicstaticfinalConfigStringMATH_BEGIN_STRING = newConfigString("Math begin string", "{", "The string that should be used to denote the start of a math expression. Can be empty, unsure if you'd want that though.");
@@ -68,6 +74,7 @@ public static class ClientData {
0 commit comments