You can use /setpref environmentsystem false, then /setpref environmentsystem true to reset sky,or relog.