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

Save allow flight as snapshot data & run commands with a delay #349

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

BlendyDev
Copy link

No description provided.

@@ -557,6 +557,7 @@ public void finishCourse(final Player player) {
playerConfig.resetPlayerDataSnapshot();
playerConfig.resetSessionJoinLocation();
playerConfig.resetSessionData();
rewardPrize(player, session);
Copy link
Owner

Choose a reason for hiding this comment

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

Was this intentional?

Copy link
Author

Choose a reason for hiding this comment

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

I dont think I tested without that change. I just wanted commands like /item working

.filter(ValidationUtils::isStringValid)
.forEach(command -> PlayerUtils.dispatchServerPlayerCommand(command, player, session));
}
}.runTaskLater(parkour, 2L);
Copy link
Owner

Choose a reason for hiding this comment

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

If we are doing this, I'd prefer to make it configurable - 0 by default

Copy link
Author

Choose a reason for hiding this comment

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

Want me to impl that? Im on GH mobile so idk if you suggested changes or anything

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.

2 participants