Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
remove pinger, because crash client
Browse files Browse the repository at this point in the history
  • Loading branch information
CubeWhy committed Aug 10, 2023
1 parent d0c5b95 commit 048d737
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 124 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -22,7 +22,7 @@ jobs:
java-version: '8'
distribution: 'zulu'
- name: Build with Gradle
run: chmod +x ./gradlew && ./gradlew setupCiWorkspace && ./gradlew -Dfile.encoding=UTF-8 build
run: ./gradlew setupCiWorkspace && ./gradlew -Dfile.encoding=UTF-8 build
- uses: actions/upload-artifact@v3
with:
name: LiquidLunarForge
Expand Down
99 changes: 67 additions & 32 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

![last commit](https://img.shields.io/github/last-commit/CubeWhyMC/LiquidLunar)
![code size](https://img.shields.io/github/repo-size/CubeWhyMC/LiquidLunar)
![code lines](https://img.shields.io/tokei/lines/github/CubeWhyMC/LiquidLunar)
[![Latest Release](https://img.shields.io/github/v/release/CubewhyMC/LiquidLunar)](https://github.com/CubewhyMC/LiquidLunar/release)
[![License](https://img.shields.io/github/license/CubewhyMC/LiquidLunar)](https://github.com/Cubewhy/LiquidLunar/blob/master/LICENSE)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/CubewhyMC/LiquidLunar)](https://github.com/CubewhyMC/LiquidLunar/actions)
Expand All @@ -26,7 +25,17 @@ LiquidLunar is an open source Minecraft 1.8.9 PvP client

This project didn't use any codes from [LunarClient](https://lunarclient.com)

If you want contribute to this project, you can open a [pull request](https://github.com/CubeWhyMC/LiquidLunar/pulls)
If you want to contribute to this project, you can open a [pull request](https://github.com/CubeWhyMC/LiquidLunar/pulls)

## License

LiquidLunar license under GPLv3

You are allowed to

- use
- share
- modify

## Build error and fix

Expand Down
1 change: 0 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

![last commit](https://img.shields.io/github/last-commit/CubeWhyMC/LiquidLunar)
![code size](https://img.shields.io/github/repo-size/CubeWhyMC/LiquidLunar)
![code lines](https://img.shields.io/tokei/lines/github/CubeWhyMC/LiquidLunar)
[![Discord](https://img.shields.io/discord/1047866655033802802.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/rCqCepgWJc)
[![Latest Release](https://img.shields.io/github/v/release/CubewhyMC/LiquidLunar)](https://github.com/CubewhyMC/LiquidLunar/release)
[![License](https://img.shields.io/github/license/CubewhyMC/LiquidLunar)](https://github.com/Cubewhy/LiquidLunar/blob/master/LICENSE)
Expand Down
6 changes: 4 additions & 2 deletions src/main/java/org/cubewhy/lunarcn/worker/PingWorker.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.cubewhy.lunarcn.worker;

import static org.cubewhy.lunarcn.utils.ClientUtils.logger;

public class PingWorker implements Runnable {
private PingWorkerCallable callable;
private int ping;
Expand Down Expand Up @@ -59,8 +61,8 @@ public void run() {
}

Thread.sleep(5000L);
} catch (Exception var2) {
var2.printStackTrace();
} catch (Exception e) {
logger.catching(e);
}

if (this.runOnce) {
Expand Down

This file was deleted.

0 comments on commit 048d737

Please sign in to comment.