5 Commits
Author SHA1 Message Date
database-mysql e5d45bf05c update fly min/max speed
build / build (push) Has been cancelled
2026-10-19 13:54:35 +08:00
database-mysql 3c5621b9b9 fix: persist flight state and fly speed per player (JSON config), restore on join/respawn
build / build (push) Has been cancelled
2026-10-19 13:26:41 +08:00
database-mysql b91166b5d6 editor fly min/max speed
build / build (push) Has been cancelled
2026-10-19 13:20:12 +08:00
database-mysql 7f308bfa00 update gradle.properties version
build / build (push) Has been cancelled
2026-10-19 13:06:35 +08:00
database-mysql bfbdfd2199 feat: add /fly speed <0.1-2.0> command, rename admin command to /fly player <player>, bump version to 1.1.0 2026-10-19 12:56:12 +08:00
2 changed files with 31 additions and 1 deletions

No files matched your search

+30
View File
@@ -0,0 +1,30 @@
# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [pull_request, push]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: checkout repository
uses: actions/checkout@v6
- name: validate gradle wrapper
uses: gradle/actions/wrapper-validation@v6
- name: setup jdk
uses: actions/setup-java@v5
with:
java-version: '25'
distribution: 'microsoft'
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
uses: actions/upload-artifact@v7
with:
name: Artifacts
path: build/libs/
@@ -32,7 +32,7 @@ public class fly {
// 飞行速度范围(/fly speed 参数范围)
public static final float MIN_FLY_SPEED = 0.01F;
public static final float MAX_FLY_SPEED = 0.15F;
public static final float MAX_FLY_SPEED = 0.13F;
private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create();