Skip to content

Commit d80eca3

Browse files
committed
Update versions
1 parent 03451e6 commit d80eca3

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

build.gradle.kts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
plugins {
22
`java-library`
33
`maven-publish`
4-
id("io.github.0ffz.github-packages") version "1.2.1"
5-
id("io.papermc.hangar-publish-plugin") version "0.1.2"
4+
id("io.github.apdevteam.github-packages") version "1.2.2"
65
}
76

87
repositories {
@@ -15,15 +14,15 @@ repositories {
1514

1615
dependencies {
1716
api("org.jetbrains:annotations-java5:24.1.0")
18-
compileOnly("io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT")
17+
compileOnly("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
1918
compileOnly("net.countercraft:movecraft:+")
2019
compileOnly("net.countercraft.movecraft.combat:movecraft-combat:+")
2120
}
2221

2322
group = "net.countercraft.movecraft"
2423
version = "1.0.1"
2524
description = "Movecraft-Overheat"
26-
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
25+
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
2726

2827
tasks.jar {
2928
archiveBaseName.set("Movecraft-Overheat")

src/main/java/net/countercraft/movecraft/movecraftoverheat/disaster/SurfaceExplosionDisaster.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void trigger () {
4141
}
4242
}
4343
if (!success) continue;
44-
TNTPrimed bomb = (TNTPrimed)craft.getWorld().spawnEntity(location.toBukkit(craft.getWorld()), EntityType.PRIMED_TNT);
44+
TNTPrimed bomb = (TNTPrimed) craft.getWorld().spawnEntity(location.toBukkit(craft.getWorld()), EntityType.TNT);
4545
bomb.setFuseTicks(0);
4646
bomb.setIsIncendiary(true);
4747
currentBombs++;

0 commit comments

Comments
 (0)