Set Console and Screwdriver stack sizes to 1
This commit is contained in:
parent
1bbb193183
commit
cd6299b876
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue