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

Remove /invis smite, add /invis clear #1011

Closed

Conversation

LegendIsAwesomes
Copy link
Contributor

Resolves #959

@JeromSar JeromSar changed the title Resolves #959 Remove /invis smite Dec 27, 2015
@JeromSar JeromSar changed the title Remove /invis smite Remove /invis smite, add /invis clear Dec 27, 2015
@Wild1145
Copy link
Member

Again, as stated on the issue I disagree with removing TFM functionality for the sake of it.

@@ -11,19 +11,19 @@
import org.bukkit.potion.PotionEffectType;

@CommandPermissions(level = AdminLevel.SUPER, source = SourceType.BOTH)
@CommandParameters(description = "Shows (optionally smites) invisisible players", usage = "/<command> (smite)")
@CommandParameters(description = "Shows (optionally clears) invisisible players", usage = "/<command> (clear)")
Copy link
Member

Choose a reason for hiding this comment

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

This should be an optional parameter. Usage is [parameter]

@JeromSar
Copy link
Member

@LegendIsAwesomes One small change and this PR is good to go.

@LegendIsAwesomes
Copy link
Contributor Author

There we go @JeromSar

@JeromSar
Copy link
Member

@LegendIsAwesomes Thanks for contributing! This PR is ready to merge and will be soon. :)

@LegendIsAwesomes
Copy link
Contributor Author

It's been accepted, invis smite just smites innocents

@JeromSar
Copy link
Member

@DUFCLiam The implementation is fine as-is. For reasoning behind removing /invis smite, see the original issue.

{
playerMsg("Smitten " + smites + " players");
playerMsg("Cleared invisibility effect from " + clears + " players"");
Copy link

Choose a reason for hiding this comment

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

You added 2 "'s at the end.

@LegendIsAwesomes
Copy link
Contributor Author

Fixed. @JeromSar

Copy link
Member

@Wild1145 Wild1145 left a comment

Choose a reason for hiding this comment

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

Should be ready to merge.

@JeromSar
Copy link
Member

Merged in 0eb0c7a. Thanks for contributing!

@JeromSar JeromSar closed this Nov 13, 2016
lemonsked pushed a commit to lemonsked/TotalFreedomMod that referenced this pull request Jun 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants