Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit e015b17

Browse files
committed
fix build
1 parent d9c00bc commit e015b17

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
- name: Release
3737
uses: Kir-Antipov/[email protected]
3838
with:
39-
github-token: "${{ secrets.GH_TOKEN }}"
39+
github-token: "${{ secrets.GITHUB_TOKEN }}"
4040
changelog-file: "CHANGELOG.md"
4141
files: builds/*.jar

1.16_combat-6/src/main/java/io/github/axolotlclient/util/Util.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ public class Util {
5151
public static String lastgame;
5252
public static String game;
5353

54+
public static int getTicksBetween(int start, int end) {
55+
if (end < start)
56+
end += 24000;
57+
return end - start;
58+
}
59+
5460
public static String getGame() {
5561
List<String> sidebar = getSidebar();
5662

0 commit comments

Comments
 (0)