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

Add -s flag to //stack worldedit command #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

max1220
Copy link

@max1220 max1220 commented Jan 28, 2025

Add -s flag to //stack WorldEdit command to shift the selection to the target location.

This makes repeated stacking way more convenient, and further increases WorldEdit parity.

I've done some minimal testing, and this behaved as expected. The implementation is almost exactly what -s does in the //move command.

Any feedback welcome!

@StackDoubleFlow
Copy link
Member

I didn't even realize //stack had -s

It looks like the real Worldedit help entry for //stack describes the -s flag as "Shift the selection to the last stacked copy". I think that's more clear in this case, so could you change the description for -s to be the same?

Also, please run cargo fmt for formatting. Thanks!

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