Give player feedback when they submit an application.

master
Etzelia 2018-11-27 16:05:04 +01:00
parent f06f771697
commit ef8abe223b
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ public class AsyncPlayerChatListener implements Listener {
public void invoke(String s) {
MCMResponse response = new MCMResponse(s);
if (response.getStatus()) {
player.sendMessage(ChatColor.GREEN + "Your application has been submitted! Hang tight while it gets reviewed by staff.");
MinecraftManagerThread.application(player.getName(), response.getExtra().getAsString());
} else {
player.sendMessage(ChatColor.RED + response.getMessage());