From 64f5fb90166a1c5b9f756be9b21baf7f538ff7ba Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sat, 5 Nov 2016 15:42:41 -0400 Subject: [PATCH] Added ome stuff to Intro --- src/alisolarflare/AliPresents.java | 2 +- src/alisolarflare/uhc/idle/AddToUHC.java | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/alisolarflare/AliPresents.java b/src/alisolarflare/AliPresents.java index 14da8b4..b86142c 100644 --- a/src/alisolarflare/AliPresents.java +++ b/src/alisolarflare/AliPresents.java @@ -21,7 +21,7 @@ public class AliPresents extends JavaPlugin{ Logger logger = getLogger(); logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ")."); - + new FlairDoorModule().register(this); new GPowerModule().register(this); new AliLinkModule().register(this); diff --git a/src/alisolarflare/uhc/idle/AddToUHC.java b/src/alisolarflare/uhc/idle/AddToUHC.java index 0af6b88..f4e2dad 100644 --- a/src/alisolarflare/uhc/idle/AddToUHC.java +++ b/src/alisolarflare/uhc/idle/AddToUHC.java @@ -35,16 +35,20 @@ public class AddToUHC extends TBMCCommandBase { case WAITING: case SETUP: case INTRO: + // Adds players to memory + sender.sendMessage("Adding Players to matchList!"); + for (int i = 0; i > args.length; i++) { + match.playerList.add(args[i]); + }sender.sendMessage("Finished!"); case PEACE: case TENSION: case POWER: case END: + sender.sendMessage("There is already a match going on!"); } - // Adds players to memory - for (int i = 0; i > args.length; i++) { - match.playerList.add(player.getName()); - } + + return false; }