Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect isSteppingCarefully for better sponge compatibility #146

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

gabizou
Copy link

@gabizou gabizou commented Mar 5, 2022

Should fix #135

As suggested in SpongePowered/Sponge#3514 (comment)

@Shadow
private World level;
public World level;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this private.

Suggested change
public World level;
private World level;

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but the field itself is public, Shadows should normally retain the same access level as their targets, regardless whether their intended uses are internal or external to the mixin in question.

@SmellyModder
Copy link
Member

Thanks for the fix. I'll also port the fix to 1.18.2 when we finish the port.

@MrJorman

This comment was marked as abuse.

@SmellyModder SmellyModder merged commit df49329 into team-abnormals:1.16.x Mar 8, 2022
@gabizou gabizou deleted the sponge-compat branch March 19, 2022 23:00
@thebikwirm
Copy link

has this been fixed
in 16.5 within recent updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants