can't pause on lost focus in xvfb

This commit is contained in:
Leijurv 2018-09-25 18:57:50 -07:00
parent 3483be4bed
commit aa7b77b413
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -50,21 +50,20 @@ public class BaritoneAutoTest implements AbstractGameEventListener, Helper {
System.out.println("Optimizing Game Settings"); System.out.println("Optimizing Game Settings");
GameSettings s = mc.gameSettings; GameSettings s = mc.gameSettings;
s.limitFramerate = 20; s.limitFramerate = 20;
s.mipmapLevels = 0; s.mipmapLevels = 0;
s.particleSetting = 2; s.particleSetting = 2;
s.overrideWidth = 128; s.overrideWidth = 128;
s.overrideHeight = 128; s.overrideHeight = 128;
s.pauseOnLostFocus = false;
s.heldItemTooltips = false; s.heldItemTooltips = false;
s.entityShadows = false; s.entityShadows = false;
s.chatScale = 0.0F; s.chatScale = 0.0F;
s.ambientOcclusion = 0; s.ambientOcclusion = 0;
s.clouds = 0; s.clouds = 0;
s.fancyGraphics = false; s.fancyGraphics = false;
s.tutorialStep = TutorialSteps.NONE; s.tutorialStep = TutorialSteps.NONE;
s.hideGUI = true; s.hideGUI = true;
s.fovSetting = 30.0F; s.fovSetting = 30.0F;
} }
@Override @Override