Added ome stuff to Intro #18
2 changed files with 9 additions and 5 deletions
|
@ -21,7 +21,7 @@ public class AliPresents extends JavaPlugin{
|
||||||
|
|
||||||
Logger logger = getLogger();
|
Logger logger = getLogger();
|
||||||
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
logger.info(pdfFile.getName() + " has been started (V." + pdfFile.getVersion()+ ").");
|
||||||
|
|
||||||
new FlairDoorModule().register(this);
|
new FlairDoorModule().register(this);
|
||||||
new GPowerModule().register(this);
|
new GPowerModule().register(this);
|
||||||
new AliLinkModule().register(this);
|
new AliLinkModule().register(this);
|
||||||
|
|
|
@ -35,16 +35,20 @@ public class AddToUHC extends TBMCCommandBase {
|
||||||
case WAITING:
|
case WAITING:
|
||||||
case SETUP:
|
case SETUP:
|
||||||
case INTRO:
|
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 PEACE:
|
||||||
case TENSION:
|
case TENSION:
|
||||||
case POWER:
|
case POWER:
|
||||||
case END:
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue