Skip to content

Fix client crash on Limbo server connection (Line 329 in PlayerProperties.java) #97

Description

@KitsunePaw

Replaced orElseThrow() with orElse(null).

In Limbo worlds, the enchantment registry is not populated. Calling orElseThrow() throws a NoSuchElementException when looking up the mending enchantment, causing the client to crash during frame rendering. 26.2 tested.

Tnx u for mod :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions