WorldEdit

WorldEdit

43M Downloads

Increase (or allow increasing) code point limit in YAML loader

wizjany opened this issue ยท 0 comments

commented

yaml = new Yaml(new SafeConstructor(), representer, options);

Spigot randomly upgraded SnakeYAML to 1.32 recently, which sets a default limit of 3mb to be overridden via https://javadoc.io/static/org.yaml/snakeyaml/1.32/org/yaml/snakeyaml/LoaderOptions.html#setCodePointLimit-int-

WorldGuard region files load through here and can grow above this limit. We need to bump the yaml dep but presumably also remain backwards compatible as the code point limit is new api.