Package com.tommytony.war.utility

Examples of com.tommytony.war.utility.PlayerState.canFly()


      player.setSaturation(originalState.getSaturation());
      player.setFoodLevel(originalState.getFoodLevel());
      PotionEffectHelper.restorePotionEffects(player, originalState.getPotionEffects());
      player.setLevel(originalState.getLevel());
      player.setExp(originalState.getExp());
      player.setAllowFlight(originalState.canFly());
     
      if (War.war.isSpoutServer()) {
        SpoutManager.getPlayer(player).setTitle(originalState.getPlayerTitle());
      }
    }
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.