Revert "fix: consider version legacy if it has legacyLaunch"

This reverts commit 6671c59e729b5fb099e5b0bb30e33321a958b70e.
This commit is contained in:
Sefa Eyeoglu 2023-10-15 16:25:23 +02:00
parent eb6c6bab00
commit 8ac4ce963f
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -134,7 +134,7 @@ class LegacyOverrideEntry(MetaBase):
meta_version.additional_jvm_args = []
meta_version.additional_jvm_args += self.additional_jvm_args
if "legacyLaunch" in self.additional_traits:
if legacy:
# remove all libraries - they are not needed for legacy
meta_version.libraries = None
# remove minecraft arguments - we use our own hardcoded ones