Set Console and Screwdriver stack sizes to 1

This commit is contained in:
Shadowfacts 2021-03-09 18:35:28 -05:00
parent 1bbb193183
commit cd6299b876
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 2 additions and 2 deletions

View File

@ -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")
}

View File

@ -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")
}