diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/util/Utils.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/util/Utils.kt index a320c00d9..e4f27c651 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/util/Utils.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/util/Utils.kt @@ -127,7 +127,7 @@ operator fun StateHolder<*, *>.get(property: BlockRotationFreedom): BlockRotatio return getValue(property.property) } -operator fun , T : Comparable> S.set(property: Property, value: T): S { +fun , T : Comparable> S.set(property: Property, value: T): S { return setValue(property, value) as S }