Skip to content

Fix a crash caused by a Mixin accessor failing to find its target field.#20

Merged
omtoi101 merged 1 commit into
fix/auto-elytra-repair-loopfrom
fix-mixin-crash
Sep 23, 2025
Merged

Fix a crash caused by a Mixin accessor failing to find its target field.#20
omtoi101 merged 1 commit into
fix/auto-elytra-repair-loopfrom
fix-mixin-crash

Conversation

@omtoi101

Copy link
Copy Markdown
Owner

The PlayerInventoryAccessor mixin was using an explicit field name in the @Accessor annotation, which caused a runtime error after a Minecraft update.

By removing the explicit field name, the Mixin framework can now correctly infer the target field from the accessor method's name, making the code more robust and resilient to future updates.

The `PlayerInventoryAccessor` mixin was using an explicit field name in the `@Accessor` annotation, which caused a runtime error after a Minecraft update.

By removing the explicit field name, the Mixin framework can now correctly infer the target field from the accessor method's name, making the code more robust and resilient to future updates.
@omtoi101 omtoi101 merged commit 1f6539f into fix/auto-elytra-repair-loop Sep 23, 2025
1 of 2 checks passed
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