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 command to delete other islands #596

Merged
merged 3 commits into from
Feb 6, 2022

Conversation

dlsf
Copy link
Member

@dlsf dlsf commented Feb 4, 2022

I don't really like this solution, but I guess it's alright for now

@dlsf dlsf added the enhancement New feature or request label Feb 4, 2022
@dlsf dlsf self-assigned this Feb 4, 2022
@dlsf
Copy link
Member Author

dlsf commented Feb 5, 2022

This is not ready yet

@dlsf dlsf marked this pull request as draft February 5, 2022 10:43
@dlsf dlsf marked this pull request as ready for review February 5, 2022 11:31
@@ -54,6 +67,17 @@ public boolean execute(CommandSender sender, String[] args) {
return false;
}

private void deleteOtherIsland(CommandSender commandSender, String playerName) {
Copy link
Member

Choose a reason for hiding this comment

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

not sure if I like this being a seperate method

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, I can inline it, but imo it's much more readable this way

Copy link
Member Author

Choose a reason for hiding this comment

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

It would look like this: https://pasty.lus.pm/UuHIyP

@PeachesMLG PeachesMLG merged commit 75271e2 into master Feb 6, 2022
@PeachesMLG PeachesMLG deleted the feature/foreign-island-deletion branch February 6, 2022 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants