Fixup long command support patch
Shiroha CI / build (push) Canceled after 0s
Shiroha CI / Event File (push) Canceled after 0s

This commit is contained in:
2026-08-14 22:00:44 +08:00
parent 6806b9d002
commit 0418b4cdc7
2 changed files with 9 additions and 3 deletions
@@ -10,5 +10,11 @@ public class LongCommandSupportConfig {
Some long commands can be run through the dialog command,
but paper has prohibited it.
Enable this to fix this problem.""")
public static boolean enabled = true;
public static boolean enabled = false;
@ConfigInfo(name = "maximum_command_string_length", comments = """
Determines the final limitation of the command length,
paper limits this to 256 chars but here we need to expand
it as we have to use it for command gui
""")
public static int maximumCommandLength = 2048;
}