Fix matter data provider writing to wrong folder
This commit is contained in:
parent
8a68bc9bd8
commit
46509a59fb
@ -29,7 +29,7 @@ open class MatterDataProvider(val modid: String? = null) : DataProvider {
|
||||
constructor(event: GatherDataEvent) : this(event.generator.packOutput, event.modContainer.namespace)
|
||||
|
||||
fun bindPackOutput(output: PackOutput) {
|
||||
pathProvider = output.createPathProvider(PackOutput.Target.DATA_PACK, AndroidResearchManager.DIRECTORY)
|
||||
pathProvider = output.createPathProvider(PackOutput.Target.DATA_PACK, MatterManager.MATTER_DIRECTORY)
|
||||
}
|
||||
|
||||
protected val actions = LinkedHashMap<ResourceLocation, AbstractRegistryAction>()
|
||||
@ -1232,6 +1232,9 @@ open class MatterDataProvider(val modid: String? = null) : DataProvider {
|
||||
}
|
||||
|
||||
override fun getName(): String {
|
||||
if (modid != null)
|
||||
return "Matter Data for mod $modid"
|
||||
|
||||
return "Matter Data"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user