API Update and workflow fix
This commit is contained in:
2
.github/workflows/compile.yml
vendored
2
.github/workflows/compile.yml
vendored
@@ -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
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
@@ -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<Material> INSTANT_BREAK = new HashSet<>(concatTypes(Lists.newArrayList(
|
||||
Material.TALL_GRASS,
|
||||
Material.GRASS,
|
||||
Material.SHORT_GRASS,
|
||||
Material.FERN,
|
||||
Material.LARGE_FERN,
|
||||
Material.KELP_PLANT,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user