Examples of giveMatchInfoBook()


Examples of org.mctourney.autoreferee.AutoRefMatch.giveMatchInfoBook()

      // only clear inventories and give books if before match or not a player
      if (match.getCurrentState().isBeforeMatch() || !match.isPlayer(player))
      {
        // give them a book with info about the match
        PlayerUtil.clearInventory(player);
        match.giveMatchInfoBook(player);
      }

      if (match.isReferee(player))
        match.updateReferee(player);
View Full Code Here

Examples of org.mctourney.autoreferee.AutoRefMatch.giveMatchInfoBook()

      if (matchTo.isReferee(player))
        matchTo.updateReferee(player);

      // give them a book with info about the match
      PlayerUtil.clearInventory(player);
      matchTo.giveMatchInfoBook(player);
    }

    // if this is leaving a match, leave its team
    if (matchFm != null)
      matchFm.leaveTeam(player, false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.