Set permission for unwatching plugin the same as 'su watchplugin'

This commit is contained in:
Frank van der Heijden 2020-07-22 00:11:51 +02:00
parent 095cad4ed0
commit f604eaeb4d
No known key found for this signature in database
GPG key ID: 26DA56488D314D11
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ public class CommandServerUtils extends BaseCommand {
*/
@Subcommand("unwatchplugin")
@CommandCompletion("@plugins")
@CommandPermission("serverutils.unwatchplugin")
@CommandPermission("serverutils.watchplugin")
@Description("Stops watching the specified plugin for changes.")
public void onUnwatchPlugin(CommandSender sender, String pluginName) {
AbstractResult result = BungeePluginManager.get().unwatchPlugin(pluginName);