Skip to content

modernfix.debugReloader should affect datapack reload as well #397

@SettingDust

Description

@SettingDust

Bug Description

For now the modernfix.debugReloader only applied in https://github.com/embeddedt/ModernFix/blob/1.16/common/src/main/java/org/embeddedt/modernfix/common/mixin/feature/measure_time/SimpleReloadableResourceManagerMixin.java

But not DataPackContents(ReloadableServerResources in mojmap)
SimpleResourceReload.start(manager, dataPackContents.getContents(), prepareExecutor, applyExecutor, COMPLETED_UNIT, LOGGER.isDebugEnabled())

Modify the boolean in SimpleReloadInstance#create maybe better?

Reproduction Steps

Enable modernfix.debugReloader with JVM flag and join world

Log File

no-op

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfixed in betaDevelopment builds are available with the fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions