Push 1.4.2 progress to GitHub (not finished yet)

This commit is contained in:
Motschen
2022-07-23 13:47:57 +02:00
parent 8847c7f499
commit e87ed53485
17 changed files with 178 additions and 36 deletions

View File

@@ -328,7 +328,7 @@ public class InputHandlers {
* @return true if the client is in game, else false
*/
public static boolean inGame(@NotNull MinecraftClient client, @NotNull ButtonBinding binding) {
return client.currentScreen == null;
return client.currentScreen == null && MidnightControlsClient.get().input.screenCloseCooldown <= 0;
}
/**