-
Notifications
You must be signed in to change notification settings - Fork 219
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
Alert player when building above highest z-level #673
Conversation
This commit made me realize that |
@feikname seems like clang-format is configured to indent with tabs and align with spaces. |
Made it so that an alert is displayed when the player attempts to build beyond the highest z-level (e.g. above the platform in babel.) This also fixes a bug where blocks are consumed when attempting to do such thing.
Reminds me, I still have commits that do zoom etc. for first-person spectators lying around on my PC, I should probably push those. Also, adding unrelated features to pull requests is generally frowned upon, but I don't have push rights so I'll leave it to the others. |
Yeah, that's totally my bad. I wanted to make some changed but I couldn't wait for this pull request to be accepted + I'm relatively new to git. As I've said, I intended to make a separate PR for this. Should I just scrap this PR? |
@Rootmars I recommend reading about No need to scrap the PR, you can move the zoom commits to another branch and open a new pull request for them: To make a new PR about the zoom changes:
To remove the zoom commits from this PR:
It may seem like a lot of steps (perhaps it is), but you'll get used to the flow and do these steps naturally eventually. Also, please note that ending your commit titles with a period is strange (they're titles, after all) edit: I edited this comment a few times in an attempt to make it more readable and less confusing. |
Thanks for your advice. I'll do this tomorrow since I have to go to bed. |
Fixed. I cannot thank you enough. |
Made it so that an alert is displayed when the player attempts to build beyond the highest z-level (e.g. above the platform in babel.)
This also fixes a bug where blocks are consumed when attempting to do such thing.