Fix ternary
Signed-off-by: jolheiser <john.olheiser@gmail.com>pull/1/head
parent
3f892be9fd
commit
9e8de3a3c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue