private void handleJump ( EventModel eventModel , ResourceModel < String > resourceModel ) { Optional < Progress > progress = ProgressResource . getProgress ( eventModel ) ; if ( ! progress . isPresent ( ) ) { musicHelper . playerError ( PlayerError . ERROR_ILLEGAL + "command: " + resourceModel . getResource ( ) + "missing resource" , resourceModel . getProvider ( ) ) ; } jumpProgress . accept ( progress . get ( ) ) ; }
handles the jump - command