mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:41:31 +01:00
Update Client.java
This commit is contained in:
parent
21108dd843
commit
a527252426
@ -257,7 +257,12 @@ public class Client {
|
||||
accountManager.init();
|
||||
logger.info("STARTING > entity-culling");
|
||||
EventManager.register(new EntityCulling());
|
||||
try {
|
||||
EntityCulling.SUPPORT_NEW_GL = GLContext.getCapabilities().OpenGL33;
|
||||
} catch(Exception err) {
|
||||
Client.logger.catching(err);
|
||||
EntityCulling.SUPPORT_NEW_GL = false;
|
||||
}
|
||||
EntityCulling.renderManager = Minecraft.getMinecraft().getRenderManager();
|
||||
logger.info("STARTING > screenshot-manager");
|
||||
EventManager.register(this.screenshotManager = new ScreenshotManager());
|
||||
|
Loading…
Reference in New Issue
Block a user