Package org.mctourney.autoreferee.event.player

Examples of org.mctourney.autoreferee.event.player.PlayerMatchLeaveEvent


    { player.teleport(target); }
  }

  public void ejectPlayer(Player player)
  {
    PlayerMatchLeaveEvent event = new PlayerMatchLeaveEvent(player, this);
    AutoReferee.callEvent(event);
    if (event.isCancelled()) return;

    // resets the player to default state
    PlayerUtil.reset(player);

    // if there is a lobby to teleport them, do so
View Full Code Here

TOP

Related Classes of org.mctourney.autoreferee.event.player.PlayerMatchLeaveEvent

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.