Skip to content

NeoForgeClientProxy.resolveLookup returns null most of the time #2488

@Deatrathias

Description

@Deatrathias

Minecraft Version: 1.21.5

NeoForge Version: 21.5.87

Description of issue:
I tried to override getAllEnchantments on an item to give a permanent enchantment effect, and it worked fine in 1.21.1, but after migrating to 1.21.5, it works only on a dedicated server and not on a local server. After investigating, it seems that the resolveLookup method in NeoForgeClientProxy returns null if the lookup is found. I believe the last "return null" should return lookup instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.21.5Targeted at Minecraft 1.21.51.21.8Targeted at Minecraft 1.21.8bugA bug or errorregressionWorked previously but doesn't anymore

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions