-
Notifications
You must be signed in to change notification settings - Fork 9
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: still show feedback if no regions affected by cmd #29
base: 1.20.4
Are you sure you want to change the base?
fix: still show feedback if no regions affected by cmd #29
Conversation
} | ||
|
||
return 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't relevant to this pull request, but it's odd that this command has a result of 2
.
src/main/java/xyz/nucleoid/creator_tools/command/MapMetadataCommand.java
Outdated
Show resolved
Hide resolved
f1b358e
to
b567de1
Compare
b567de1
to
44dfe7f
Compare
@@ -47,6 +47,7 @@ | |||
"text.nucleoid_creator_tools.map.open.map_already_exists": "Map with id '%s' already exists!", | |||
"text.nucleoid_creator_tools.map.open.success": "Opened workspace '%s'! Use %s to join this map", | |||
"text.nucleoid_creator_tools.map.origin.set": "Updated origin for workspace", | |||
"text.nucleoid_creator_tools.map.region.none_affected": "No regions affected.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: this key should be sorted after text.nucleoid_creator_tools.map.region.entity.remove.success
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why particularly? That is for entity removal, and this is for any kind of region processing (e.g. remove, data get, merge, etc)
This just shows a little bit of feedback if no regions were matched, to improve QoL