Package org.mctourney.autoreferee.goals

Examples of org.mctourney.autoreferee.goals.CoreGoal


    {
      sender.sendMessage("You must have a selection with WorldEdit already to run this method.");
      return true;
    }

    CoreGoal core = new CoreGoal(team, reg);
    if (options.hasOption('r'))
      try { core.setRange(Long.parseLong(options.getOptionValue('r'))); }
      catch (NumberFormatException e)
      { sender.sendMessage(ChatColor.RED + options.getOptionValue('r') + " is not a valid range."); }

    team.addGoal(core);
    sender.sendMessage(reg.toString() + " set as " + team.getDisplayName() + "'s TARGET core.");
View Full Code Here

TOP

Related Classes of org.mctourney.autoreferee.goals.CoreGoal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.