Fix integration test failing because of conflicting keybindings

This commit is contained in:
Jonas Herzig
2017-06-15 20:44:10 +02:00
parent 4dcecc5697
commit 6109960d4a

View File

@@ -36,6 +36,11 @@ public class ReplayModIntegrationTest {
// Make sure the game window doesn't have to remain in focus during the test // Make sure the game window doesn't have to remain in focus during the test
mc.gameSettings.pauseOnLostFocus = false; mc.gameSettings.pauseOnLostFocus = false;
// Vanilla uses our keys
mc.gameSettings.keyBindAdvancements.setKeyCode(0);
mc.gameSettings.keyBindLoadToolbar.setKeyCode(0);
mc.gameSettings.keyBindSaveToolbar.setKeyCode(0);
runTasks( runTasks(
new SkipLogin(), new SkipLogin(),
new DownloadOpenEye(), new DownloadOpenEye(),