From a6891362d9612e0c13292db1ae72610d2d5c0c66 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 1 Mar 2025 12:15:33 +0700 Subject: [PATCH] Remove no longer needed operator --- .../kotlin/ru/dbotthepony/mc/otm/container/MatteryContainer.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/container/MatteryContainer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/container/MatteryContainer.kt index 9f890e005..024ed041c 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/container/MatteryContainer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/container/MatteryContainer.kt @@ -230,9 +230,6 @@ open class MatteryContainer(var listener: ContainerListener, private val size: I return nonEmptyIndices.isEmpty } - @Suppress("nothing_to_inline") - inline operator fun get(slot: Int) = getItem(slot) - @Suppress("nothing_to_inline") inline operator fun set(slot: Int, stack: ItemStack) = setItem(slot, stack)