Add /prefix as an alias

This commit is contained in:
Pharma 2023-01-07 07:38:27 -06:00 committed by GitHub
parent 301e5a3846
commit 6cbac497cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@CommandPermissions(level = Rank.OP, source = SourceType.BOTH)
@CommandParameters(description = "Allows you to set your own prefix.", usage = "/<command> [-s[ave]] <set <tag..> | list | gradient <hex> <hex> <tag..> | off | clear <player> | clearall>")
@CommandParameters(description = "Allows you to set your own prefix.", usage = "/<command> [-s[ave]] <set <tag..> | list | gradient <hex> <hex> <tag..> | off | clear <player> | clearall>", aliases = "prefix")
public class Command_tag extends FreedomCommand
{
@ -300,4 +300,4 @@ public class Command_tag extends FreedomCommand
playerData.setTag(tag);
plugin.pl.save(playerData);
}
}
}