Fixed yaml size limit
This commit is contained in:
@@ -10,4 +10,5 @@ dependencies {
|
||||
compileOnly 'me.clip:placeholderapi:2.10.10'
|
||||
compileOnly 'net.kyori:adventure-text-minimessage:4.10.0'
|
||||
compileOnly 'net.kyori:adventure-platform-bukkit:4.1.0'
|
||||
compileOnly 'org.yaml:snakeyaml:1.33'
|
||||
}
|
||||
@@ -91,6 +91,7 @@ private object YamlConfigTypeHandler : ConfigTypeHandler(ConfigType.YAML) {
|
||||
|
||||
loaderOptions.maxAliasesForCollections = Int.MAX_VALUE
|
||||
loaderOptions.isAllowDuplicateKeys = false
|
||||
loaderOptions.codePointLimit = 256 * 1024 * 1024
|
||||
|
||||
yamlOptions.indent = 2
|
||||
yamlOptions.defaultFlowStyle = DumperOptions.FlowStyle.BLOCK
|
||||
|
||||
Reference in New Issue
Block a user