Check if optifine is installed before rendering