Skip to content

Commit 23b7a68

Browse files
committed
Make it so that the configurator only stacks to one to help shift clicking in certain mods not accidentally create a bunch
1 parent e99df3d commit 23b7a68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/mekanism/common/item/ItemConfigurator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ public class ItemConfigurator extends Item implements IRadialModeItem<Configurat
7171
IRadialDataHelper.INSTANCE.dataForEnum(Mekanism.rl("configurator_mode"), ConfiguratorMode.class));
7272

7373
public ItemConfigurator(Properties properties) {
74-
super(properties.rarity(Rarity.UNCOMMON).component(MekanismDataComponents.CONFIGURATOR_MODE, ConfiguratorMode.CONFIGURATE_ITEMS));
74+
super(properties.rarity(Rarity.UNCOMMON).stacksTo(1)
75+
.component(MekanismDataComponents.CONFIGURATOR_MODE, ConfiguratorMode.CONFIGURATE_ITEMS)
76+
);
7577
}
7678

7779
@Override

0 commit comments

Comments
 (0)