Aquaculture 2

Aquaculture 2

96M Downloads

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

grundyboy34 opened this issue ยท 0 comments

commented

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.