Sometimes you might be on 1.12.2 and this happens. Switching to ANY other version (preferably 1.12.2 or 1.13+) will fix it.