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

Fix sound not continuing while landing #44

Merged
merged 3 commits into from
Jan 4, 2023

Conversation

thejudge156
Copy link
Contributor

Fix sound not continuing while landing as discussed in #38

@Jeryn99 Jeryn99 added the enhancement New feature or request label Jan 3, 2023
Copy link
Collaborator

@CommandrMoose CommandrMoose left a comment

Choose a reason for hiding this comment

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

Great work.

@@ -112,7 +112,7 @@ public void tick(Level level) {
this.onFlightEnd();
}

if (level.getGameTime() % (20 * 1.75) == 0 && ticksLanding == 0) {
if (level.getGameTime() % (20 * 1.75) == 0 && (ticksLanding >= 2 * 20 || ticksLanding == 0)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sorry, one final thing. Make it 6 instead.

@CommandrMoose CommandrMoose merged commit 4a5c234 into WhoCraft:master Jan 4, 2023
@thejudge156 thejudge156 deleted the sound-fix branch January 4, 2023 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants