Esempio n. 1
0
 @Override
 public void setSprinting(boolean sprinting) {
   if (sprinting != this.sprinting) {
     super.setSprinting(sprinting);
     world.getBot().getEventBus().fire(new SprintUpdateEvent(sprinting));
   }
 }
Esempio n. 2
0
 @Override
 public void setCrouching(boolean crouching) {
   if (crouching != this.crouching) {
     super.setCrouching(crouching);
     world.getBot().getEventBus().fire(new CrouchUpdateEvent(crouching));
   }
 }