human.setSneaking(false);
}
}
break;
case EntityActionMessage.ACTION_LEAVE_BED:
player.getNetwork().callProtocolEvent(new EntityAnimationEvent(player, Animation.LEAVE_BED));
break;
case EntityActionMessage.ACTION_START_SPRINTING:
if (human != null) {
if (!player.getEngine().getEventManager().callEvent(new PlayerToggleSprintingEvent(player, true)).isCancelled()) {
human.setSprinting(true);