From c5c7e1bac4ce8216e2cdae6ccbfa31964cf516a7 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 30 Mar 2025 18:51:25 +0700 Subject: [PATCH] Remove operator modifier on blockstate#set alias --- src/main/kotlin/ru/dbotthepony/mc/otm/util/Utils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }