Skip to content

Add system property which overrides IS_RUNNING_IN_IDE - #1825

Open
Mickey42302 wants to merge 2 commits into
PurpurMC:ver/26.2from
Mickey42302:is-running-in-ide
Open

Add system property which overrides IS_RUNNING_IN_IDE#1825
Mickey42302 wants to merge 2 commits into
PurpurMC:ver/26.2from
Mickey42302:is-running-in-ide

Conversation

@Mickey42302

Copy link
Copy Markdown
Contributor

I'd like to suggest the addition of a "purpur.isRunningInIDE" system property. This is a simple patch that has a big impact: it overrides the "IS_RUNNING_IN_IDE" flag. The "IS_RUNNING_IN_IDE" flag controls access to many functionalities that are hidden within the game's code.

If the system property is added, a mixin loader will no longer be required to override the "IS_RUNNING_IN_IDE" flag. All players will have to do is add "-Dpurpur.isRunningInIDE=true" to their startup script, and the job is done.

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