diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/CobblerBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/CobblerBlockEntity.kt index b6fcbafc8..aaceb272d 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/CobblerBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/CobblerBlockEntity.kt @@ -47,6 +47,6 @@ class CobblerBlockEntity(blockPos: BlockPos, blockState: BlockState) } companion object { - const val CONTAINER_SIZE = 16 + const val CONTAINER_SIZE = 9 } } diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/CobblerScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/CobblerScreen.kt index 42b304b03..ae546eff5 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/CobblerScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/CobblerScreen.kt @@ -16,9 +16,9 @@ class CobblerScreen(menu: CobblerMenu, inventory: Inventory, title: Component) : ProgressGaugePanel(this, frame, menu.progress, 30f, 42f) - for (row in 0 .. 3) - for (column in 0 .. 3) - SlotPanel(this, frame, menu.storageSlots[row * 4 + column], 80f + column * AbstractSlotPanel.SIZE, 17f + row * AbstractSlotPanel.SIZE) + for (row in 0 .. 2) + for (column in 0 .. 2) + SlotPanel(this, frame, menu.storageSlots[row * 3 + column], 80f + column * AbstractSlotPanel.SIZE, 26f + row * AbstractSlotPanel.SIZE) makeDeviceControls(this, frame, redstone = menu.redstone)