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

Update dynamic filters immediately on sneak #1021

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

OhPointFive
Copy link
Contributor

Currently, if you sneak, dynamic filters don't update when players sneak immediately — only after they've moved a block. Dynamic filters happening immediately when you press shift may be desirable — perhaps a glass spawn platform where players can press shift to activate a portal to drop down where they want.

This PR makes it so that when a player presses shift, dynamic filters are updated immediately.

@KingOfSquares
Copy link
Contributor

Thanks for the PR, it seems like you did not sign off your commit though, which is required for this repo. Are you able to correct that?

@OhPointFive
Copy link
Contributor Author

OhPointFive commented Jul 5, 2022

Thanks for the PR, it seems like you did not sign off your commit though, which is required for this repo. Are you able to correct that?

Oh sorry, I had heard this was no longer required. Last time I tried to set that up I ran into some issues but I'll give it another go.

Edit: I think I have signed it now, let me know if I didn't do it right.

@OhPointFive OhPointFive force-pushed the handle-crouching-immediately branch from f3aa5ec to 41c3857 Compare July 5, 2022 06:01
Previously, dynamic filters based on crouching would only update
if the player moved an entire block.
Now, dynamic filters fire immediately when the player crouches.

Signed-off-by: OhPointFive <ohpointfive@gmail.com>
@OhPointFive OhPointFive force-pushed the handle-crouching-immediately branch from 41c3857 to 5f74bbe Compare July 5, 2022 06:01
Copy link
Member

@Pablete1234 Pablete1234 left a comment

Choose a reason for hiding this comment

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

As simon pointed out you'll need to signoff the commit, but otherwise lgtm

@Electroid Electroid merged commit 688fa79 into PGMDev:dev Jul 5, 2022
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