Skip to content

Force enable decompression when there's no source available#57

Open
ZZZank wants to merge 1 commit into
CleanroomMC:masterfrom
ZZZank:init-minecraft-src
Open

Force enable decompression when there's no source available#57
ZZZank wants to merge 1 commit into
CleanroomMC:masterfrom
ZZZank:init-minecraft-src

Conversation

@ZZZank
Copy link
Copy Markdown
Contributor

@ZZZank ZZZank commented May 26, 2026

change_minecraft_sources works by preventing re-generation of decompressed source, which will cause major issue when there's no existed sources. After running gradlew clean, or when initializing the project freshly, a new decompressed source is supposed to be copied into ./build/rfg/minecraft-src folder, but enabling change_minecraft_sources will break this.

This PR fixes this by simply detecting whether such folder exists, and force-enable decompression when not.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant