Fix wrong clamped reading size & add more comments to default value of LongCommandSupportConfig
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ public class LongCommandSupportConfig {
|
|||||||
@ConfigInfo(name = "maximum_command_string_length", comments = """
|
@ConfigInfo(name = "maximum_command_string_length", comments = """
|
||||||
Determines the final limitation of the command length,
|
Determines the final limitation of the command length,
|
||||||
paper limits this to 256 chars but here we need to expand
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user