added the FlairMe Command to the set

I forgot to do the thing, and now I'm doing the thing
This commit is contained in:
alisolarflare 2016-10-07 19:46:28 -04:00
parent df96b4102b
commit cb68e52102
2 changed files with 17 additions and 2 deletions

View file

@ -11,3 +11,5 @@ commands:
description: Creates an Ali Link setalilink frequency
setFlairDoorColour:
description: Sets the flair door colour mode, when lighting portals
flairme:
description: Activates the Flair Me Command. Ask Ali, she was fucking tired when writing this description

View file

@ -1,5 +1,18 @@
package alisolarflare.flairdoors;
public class FlairMe {
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
public class FlairMe implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
sender.sendMessage("Flairing..." + sender.getName());
PortalListener.playersToBeFlaired.add(sender.getName());
sender.sendMessage("Finished Preparation! Walk through a portal to get your flair");
return false;
}
}