Skip to content

Altx Bundles an old version of Kotlin Language? #31

@Schattey

Description

@Schattey

Hi, I’m running a Fabric 1.21.11 server and ran into a crash caused by ALTX.

It looks like ALTX bundles its own Kotlin runtime, which overrides the one provided by Fabric Language Kotlin. This causes conflicts with other mods that rely on a newer Kotlin version.

For example, it crashes with:
java.lang.NoSuchMethodError: kotlin.time.TimeSource$Monotonic.markNow

The crash specifically happens with Elytra Trims, which expects a newer Kotlin version, but ALTX seems to force an older one.

(this is what i think it does anyway)

Would it be possible to:

remove the bundled Kotlin runtime and depend on fabric-language-kotlin instead, or relocate/shade Kotlin properly to avoid global conflicts?

Right now it breaks compatibility with some other Kotlin-based mods.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions