Examples of PlayerAbilityUpdateEvent


Examples of org.spout.vanilla.event.player.network.PlayerAbilityUpdateEvent

  // This is here to eliminate repetitive code above
  private void updateAbilities(boolean updateClient) {
    if (!updateClient || !(getOwner() instanceof Player)) {
      return;
    }
    ((Player) getOwner()).getNetwork().callProtocolEvent(new PlayerAbilityUpdateEvent((Player) getOwner()));
  }
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.