Configurable xp orb merge group count (#12503)

This commit is contained in:
Mart
2025-05-03 18:51:19 +00:00
committed by GitHub
parent 6f1f5b67e0
commit 88a3a87015
4 changed files with 34 additions and 4 deletions

View File

@ -62,7 +62,8 @@ public abstract class Configurations<G, W> {
protected ObjectMapper.Factory.Builder createObjectMapper() {
return ObjectMapper.factoryBuilder()
.addConstraint(Constraint.class, new Constraint.Factory())
.addConstraint(Constraints.Min.class, Number.class, new Constraints.Min.Factory());
.addConstraint(Constraints.Min.class, Number.class, new Constraints.Min.Factory())
.addConstraint(Constraints.Max.class, Number.class, new Constraints.Max.Factory());
}
protected YamlConfigurationLoader.Builder createLoaderBuilder() {