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

[Bug] Neptunium boots negating haste & aqua affinity due to causing constant floating debuff. #155

Closed
grundyboy34 opened this issue Nov 4, 2020 · 0 comments

Comments

@grundyboy34
Copy link

grundyboy34 commented Nov 4, 2020

player.move(MoverType.PLAYER, player.getMotion()); //Make the swimming react to the swiftness potion

This line seems to be causing the game to think the player is always moving, giving them the x5 mining debuff for floating.
Could you maybe wrap this line in a if (!player.isCrouching()) block, or better yet, put it in a block that detects if the player is swimming or not?
Another option could be to use attribute modifiers, but I'm not entirely sure how those work, I just know it's what Enigmatic Legacy uses for a 25% swim speed buff amulet.

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

No branches or pull requests

2 participants