Add /prefix as an alias to /tag

This commit is contained in:
Pharma 2023-01-18 12:07:43 -06:00 committed by GitHub
parent cfcf6fa582
commit ed35b5cdcf
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);
}
}
}