From c2e2dd4c3951eb16dec7928e51fa1effdde2fe09 Mon Sep 17 00:00:00 2001 From: ThisTestUser Date: Wed, 18 Sep 2024 19:54:28 +0000 Subject: [PATCH] API Update and workflow fix --- .github/workflows/compile.yml | 2 +- TerminatorPlus-API/build.gradle.kts | 2 +- .../nuggetmc/tplus/api/agent/legacyagent/LegacyMats.java | 4 ++-- TerminatorPlus-Plugin/build.gradle.kts | 6 ------ 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 0e7059f..4baaa7c 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -25,7 +25,7 @@ jobs: run: ./gradlew build - name: Upload a Build Artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v4 if: success() with: name: TerminatorPlus diff --git a/TerminatorPlus-API/build.gradle.kts b/TerminatorPlus-API/build.gradle.kts index d6a703f..6754434 100644 --- a/TerminatorPlus-API/build.gradle.kts +++ b/TerminatorPlus-API/build.gradle.kts @@ -17,6 +17,6 @@ repositories { } dependencies { - compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT") + compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT") compileOnly("com.mojang:authlib:3.2.38") } diff --git a/TerminatorPlus-API/src/main/java/net/nuggetmc/tplus/api/agent/legacyagent/LegacyMats.java b/TerminatorPlus-API/src/main/java/net/nuggetmc/tplus/api/agent/legacyagent/LegacyMats.java index fe37af8..0311cb2 100644 --- a/TerminatorPlus-API/src/main/java/net/nuggetmc/tplus/api/agent/legacyagent/LegacyMats.java +++ b/TerminatorPlus-API/src/main/java/net/nuggetmc/tplus/api/agent/legacyagent/LegacyMats.java @@ -31,7 +31,7 @@ public class LegacyMats { Material.VINE, Material.FERN, Material.LARGE_FERN, - Material.GRASS, + Material.SHORT_GRASS, Material.TALL_GRASS, Material.SEAGRASS, Material.TALL_SEAGRASS, @@ -207,7 +207,7 @@ public class LegacyMats { public static final Set INSTANT_BREAK = new HashSet<>(concatTypes(Lists.newArrayList( Material.TALL_GRASS, - Material.GRASS, + Material.SHORT_GRASS, Material.FERN, Material.LARGE_FERN, Material.KELP_PLANT, diff --git a/TerminatorPlus-Plugin/build.gradle.kts b/TerminatorPlus-Plugin/build.gradle.kts index 7399105..bf01938 100644 --- a/TerminatorPlus-Plugin/build.gradle.kts +++ b/TerminatorPlus-Plugin/build.gradle.kts @@ -17,12 +17,6 @@ dependencies { //add the TerminatorPlus-API module implementation(project(":TerminatorPlus-API")) - - // paperweightDevBundle("com.example.paperfork", "1.19-R0.1-SNAPSHOT") - - // You will need to manually specify the full dependency if using the groovy gradle dsl - // (paperDevBundle and paperweightDevBundle functions do not work in groovy) - // paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.19-R0.1-SNAPSHOT") } tasks {