feat: added setter for CharacterConfig in JSON

This commit is contained in:
Yannik Bretschneider 2021-06-30 22:49:59 +02:00
parent bc3319eed0
commit ed4b454379

View File

@ -131,4 +131,10 @@ public class JSON {
return Optional.empty();
}
}
public void setCharacterConfig(CharacterConfig config) {
this.mapper.setInjectableValues(new InjectableValues
.Std()
.addValue("CharacterConfig", config));
}
}