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

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