Added messages and fixes (#3)
This commit is contained in:
parent
cacb14a307
commit
d8dcf72075
2 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,8 @@ public class AcceptMCCommand extends DiscordMCCommandBase {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
TBMCPlayer.getPlayerAs((Player) sender, DiscordPlayer.class).setDiscrodID(did);
|
TBMCPlayer.getPlayerAs((Player) sender, DiscordPlayer.class).setDiscrodID(did);
|
||||||
|
ConnectCommand.WaitingToConnect.remove(sender.getName());
|
||||||
|
sender.sendMessage("§bAccounts connected.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ public class DeclineMCCommand extends DiscordMCCommandBase {
|
||||||
sender.sendMessage("§cYou don't have a pending connection to Discord.");
|
sender.sendMessage("§cYou don't have a pending connection to Discord.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
sender.sendMessage("§bPending connection declined.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue