Fix ternary
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
pull/1/head
jolheiser 2022-02-20 23:50:05 -06:00
parent 3f892be9fd
commit 9e8de3a3c7
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ public class CommandAlias implements CommandExecutor {
public CommandAlias(Mixtape plugin, Database.AliasType aliasType) {
this.plugin = plugin;
this.aliasType = aliasType;
plugin.getCommand(aliasType == Database.AliasType.CHAT ? "" : "/" + "alias").setExecutor(this);
plugin.getCommand((aliasType == Database.AliasType.CHAT ? "" : "/") + "alias").setExecutor(this);
}
@Override