Added messages and fixes (#3)

This commit is contained in:
Norbi Peti 2016-10-30 23:18:02 +01:00
parent cacb14a307
commit d8dcf72075
2 changed files with 3 additions and 0 deletions

View file

@ -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;
} }

View file

@ -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;
} }