update Forge / Forgelin / Kotlin versions

This commit is contained in:
octarine-noise
2019-09-03 14:23:44 +02:00
parent ac015b12df
commit d96ac1c94c
5 changed files with 10 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ abstract class DelegatingConfig(val modId: String, val langPrefix: String) {
* Returns true if any of the given configuration elements have changed.
* Supports both categories and
*/
fun hasChanged(elements: List<*>): Boolean {
fun hasChanged(elements: List<ConfigPropertyBase>): Boolean {
reflectNestedObjects.forEach { category ->
if (category.second in elements && config?.getCategory(category.first)?.hasChanged() ?: false) return true
}