diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index a1868a969..c9be95286 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -14,11 +14,11 @@ jobs: uses: actions/checkout@v4 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 11 + java-version: 17 check-latest: true - name: Build with Gradle run: ./gradlew build diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_14to1_13_2/metadata/MetadataRewriter1_14To1_13_2.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_14to1_13_2/metadata/MetadataRewriter1_14To1_13_2.java index 7966ae069..1a9c79b94 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_14to1_13_2/metadata/MetadataRewriter1_14To1_13_2.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_14to1_13_2/metadata/MetadataRewriter1_14To1_13_2.java @@ -135,9 +135,6 @@ public class MetadataRewriter1_14To1_13_2 extends EntityRewriter { - }); - - filter().type(EntityTypes1_14.HORSE).index(18).handler((event, meta) -> { meta.setMetaType(Types1_14.META_TYPES.optionalVarIntType); if (meta.getValue().equals(0)) { meta.setValue(null); // https://bugs.mojang.com/browse/MC-111480 diff --git a/velocity/build.gradle.kts b/velocity/build.gradle.kts index 670dbaf07..4c60a4d33 100644 --- a/velocity/build.gradle.kts +++ b/velocity/build.gradle.kts @@ -1,7 +1,7 @@ dependencies { compileOnlyApi(projects.viaversionCommon) compileOnly(libs.velocity) { - // Requires Java 11 + // Requires Java 17 exclude("com.velocitypowered", "velocity-brigadier") } annotationProcessor(libs.velocity)