Esempio n. 1
0
  public void setFlySpeed(float value) {
    validateSpeed(value);
    Packet202PlayerAbilities pack = getAbilitiesPacket();
    pack.setFlySpeed(value);

    updateAbilities(pack);
  }
Esempio n. 2
0
 public void setAllowFlight(boolean value) {
   Packet202PlayerAbilities able = getAbilitiesPacket();
   able.setAllowFlying(value);
   updateAbilities(able);
 }