Fix wrong clamped reading size & add more comments to default value of LongCommandSupportConfig
Shiroha CI / build (push) Canceled after 0s
Shiroha CI / Event File (push) Canceled after 0s

This commit is contained in:
2026-08-15 00:29:07 +08:00
parent a33c1044ae
commit 8580882817
@@ -14,7 +14,7 @@ public class LongCommandSupportConfig {
@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
it (256 -> 32768) as we have to use it for command gui
""")
public static int maximumCommandLength = 32768;
public static int maximumCommandLength = 32767;
}