From cd6299b876c35d4adc7ac60e31da613a0b95294e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 9 Mar 2021 18:35:28 -0500 Subject: [PATCH] Set Console and Screwdriver stack sizes to 1 --- src/main/kotlin/net/shadowfacts/phycon/item/ConsoleItem.kt | 2 +- src/main/kotlin/net/shadowfacts/phycon/item/ScrewdriverItem.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/net/shadowfacts/phycon/item/ConsoleItem.kt b/src/main/kotlin/net/shadowfacts/phycon/item/ConsoleItem.kt index 0dca670..549ec20 100644 --- a/src/main/kotlin/net/shadowfacts/phycon/item/ConsoleItem.kt +++ b/src/main/kotlin/net/shadowfacts/phycon/item/ConsoleItem.kt @@ -13,7 +13,7 @@ import net.shadowfacts.phycon.screen.console.DeviceConsoleScreen /** * @author shadowfacts */ -class ConsoleItem: Item(Settings()) { +class ConsoleItem: Item(Settings().maxCount(1)) { companion object { val ID = Identifier(PhysicalConnectivity.MODID, "console") } diff --git a/src/main/kotlin/net/shadowfacts/phycon/item/ScrewdriverItem.kt b/src/main/kotlin/net/shadowfacts/phycon/item/ScrewdriverItem.kt index 5aa97e4..a6331f3 100644 --- a/src/main/kotlin/net/shadowfacts/phycon/item/ScrewdriverItem.kt +++ b/src/main/kotlin/net/shadowfacts/phycon/item/ScrewdriverItem.kt @@ -20,7 +20,7 @@ import net.shadowfacts.phycon.util.containsInclusive /** * @author shadowfacts */ -class ScrewdriverItem: Item(Settings()) { +class ScrewdriverItem: Item(Settings().maxCount(1)) { companion object { val ID = Identifier(PhysicalConnectivity.MODID, "screwdriver") }