File tree Expand file tree Collapse file tree
src/main/kotlin/org/polyfrost/polysprint/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Build Workflow
2+
3+ name : Build with Gradle
4+
5+ on :
6+ pull_request :
7+ workflow_dispatch :
8+ push :
9+
10+ concurrency :
11+ group : ${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ build :
16+ name : Build
17+
18+ runs-on : ubuntu-latest
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 10
25+
26+ - name : Set up JDK 17
27+ uses : actions/setup-java@v4
28+ with :
29+ java-version : 17
30+ distribution : temurin
31+
32+ - uses : actions/cache@v4
33+ with :
34+ path : |
35+ ~/.gradle/caches
36+ ~/.gradle/wrapper
37+ **/loom-cache
38+ **/prebundled-jars
39+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
40+ restore-keys : |
41+ ${{ runner.os }}-gradle-
42+ - name : Chmod Gradle
43+ run : chmod +x ./gradlew
44+
45+ - name : Build
46+ run : ./gradlew build --no-daemon
Original file line number Diff line number Diff line change 11mod_name = PolySprint
22mod_id = polysprint
3- mod_version = 1.0.1
3+ mod_version = 1.0.2
44mod_archives_name =PolySprint
55
66# Gradle Configuration -- DO NOT TOUCH THESE VALUES.
@@ -9,4 +9,4 @@ org.gradle.daemon=true
99org.gradle.parallel =true
1010org.gradle.configureoncommand =true
1111org.gradle.parallel.threads =4
12- org.gradle.jvmargs =-Xmx2G
12+ org.gradle.jvmargs =-Xmx2G
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ package org.polyfrost.polysprint.core
2020
2121import cc.polyfrost.oneconfig.libs.universal.UKeyboard
2222import cc.polyfrost.oneconfig.libs.universal.UScreen
23- import cc.polyfrost.oneconfig.utils.hypixel.HypixelUtils
2423import net.minecraft.client.settings.KeyBinding
2524import org.lwjgl.input.Mouse
2625import org.polyfrost.polysprint.PolySprint.gameSettings
@@ -35,7 +34,7 @@ fun shouldSetSneak(keyBinding: KeyBinding): Boolean {
3534}
3635
3736fun shouldFlyBoost (): Boolean {
38- return gameSettings.keyBindSprint.isKeyDown && PolySprintConfig .enabled && PolySprintConfig .toggleFlyBoost && player != null && player!! .capabilities.isFlying && player!! .capabilities.isCreativeMode && ! HypixelUtils . INSTANCE .isHypixel
37+ return gameSettings.keyBindSprint.isKeyDown && PolySprintConfig .enabled && PolySprintConfig .toggleFlyBoost && player != null && player!! .capabilities.isFlying && player!! .capabilities.isCreativeMode
3938}
4039
4140fun checkKeyCode (keyCode : Int ) = if (keyCode > 0 ) UKeyboard .isKeyDown(keyCode) else Mouse .isButtonDown(
You can’t perform that action at this time.
0 commit comments