changed module dev command start from replacement items
@@ -38,7 +38,8 @@ public class ModuleDevCommand {
BlockPos pos = new BlockPos(context.getSource().getPos());
World world = context.getSource().getWorld();
- ItemStack baseStack = ItemArgument.getItem(context, "item").createStack(1, false);
+ ItemStack baseStack = ItemUpgradeRegistry.instance.getReplacement(
+ ItemArgument.getItem(context, "item").createStack(1, false));
ItemModule module = ItemUpgradeRegistry.instance.getModule(StringArgumentType.getString(context, "module"));
