Skip to content

#file creates erroneous files in root data pack folder #37

Description

@Nixinova

Using #file: with content above it creates erroneous files that are placed in the root data pack directory.

Example:

#Header#
#file: ./x
/say hi
#file: ./y
/say hello

When compiled, the following occurs:

 Generated    #Header#.mcfunction
 Generated    .//data/DATAPACK/functions/x.mcfunction
 Generated    .//data/DATAPACK/functions/y.mcfunction

The content above the first #file should either be:

  1. disregarded, or
  2. compiled to a folder in its local directory with the same name as the mcscript filename. E.g., if the example above was in file A.mcscript it should be compiled to .//data/DATAPACK/functions/A.mcfunction, not ./#Header#.mcfunction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions