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:
parent
df96b4102b
commit
cb68e52102
2 changed files with 17 additions and 2 deletions
|
@ -11,3 +11,5 @@ commands:
|
||||||
description: Creates an Ali Link setalilink frequency
|
description: Creates an Ali Link setalilink frequency
|
||||||
setFlairDoorColour:
|
setFlairDoorColour:
|
||||||
description: Sets the flair door colour mode, when lighting portals
|
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
|
|
@ -1,5 +1,18 @@
|
||||||
package alisolarflare.flairdoors;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue