diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/storage/ItemMonitorBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/storage/ItemMonitorBlockEntity.kt index b7137365c..44f88858b 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/storage/ItemMonitorBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/storage/ItemMonitorBlockEntity.kt @@ -296,7 +296,7 @@ class ItemMonitorBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : override fun stillValid(p_18946_: Player) = true override fun getItem(p_18941_: Int): ItemStack { - require(p_18941_ == 1) { "Invalid slot ID: $p_18941_" } + require(p_18941_ == 0) { "Invalid slot ID: $p_18941_" } return craftingRecipe?.resultItem?.copy() ?: ItemStack.EMPTY }