Skip to content

Commit 1fdcbe1

Browse files
committed
build.gradle.kts - update some APIs
1 parent 0f3ed61 commit 1fdcbe1

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ val projectVersion = "5.0.0-beta3"
77
// Where this builds on the server
88
val serverLocation = "1-21-5"
99
// Minecraft version to build against
10-
val minecraftVersion = "1.21.5"
10+
val minecraftVersion = "1.21.10"
1111

1212
java.sourceCompatibility = JavaVersion.VERSION_21
1313

@@ -41,7 +41,7 @@ dependencies {
4141
compileOnly("io.papermc.paper:paper-api:${minecraftVersion}-R0.1-SNAPSHOT")
4242

4343
// Command Api
44-
implementation("dev.jorel:commandapi-bukkit-shade-mojang-mapped:10.0.1")
44+
implementation("dev.jorel:commandapi-paper-shade:11.0.1-SNAPSHOT")
4545

4646
// bStats
4747
implementation("org.bstats:bstats-bukkit:3.1.0")
@@ -53,7 +53,7 @@ dependencies {
5353
compileOnly("me.clip:placeholderapi:2.11.6")
5454

5555
// NBT-API
56-
implementation("de.tr7zw:item-nbt-api:2.15.0") {
56+
implementation("de.tr7zw:item-nbt-api:2.15.3") {
5757
isTransitive = false
5858
}
5959

@@ -63,7 +63,7 @@ dependencies {
6363
}
6464

6565
// FastBoard
66-
implementation("fr.mrmicky:fastboard:2.1.4")
66+
implementation("fr.mrmicky:fastboard:2.1.5")
6767
}
6868

6969
tasks {

src/main/java/com/shanebeestudios/hg/plugin/HungerGames.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import com.shanebeestudios.hg.plugin.managers.PlayerManager;
2929
import com.shanebeestudios.hg.plugin.managers.SessionManager;
3030
import dev.jorel.commandapi.CommandAPI;
31-
import dev.jorel.commandapi.CommandAPIBukkitConfig;
31+
import dev.jorel.commandapi.CommandAPIPaperConfig;
3232
import dev.jorel.commandapi.exceptions.UnsupportedVersionException;
3333
import io.lumine.mythic.api.MythicProvider;
3434
import org.bstats.bukkit.Metrics;
@@ -74,11 +74,10 @@ public class HungerGames extends JavaPlugin {
7474
@Override
7575
public void onLoad() {
7676
try {
77-
CommandAPI.onLoad(new CommandAPIBukkitConfig(this)
77+
CommandAPI.onLoad(new CommandAPIPaperConfig(this)
7878
.setNamespace("hungergames")
7979
.verboseOutput(false)
80-
.silentLogs(true)
81-
.skipReloadDatapacks(true));
80+
.silentLogs(true));
8281
} catch (UnsupportedVersionException ignore) {
8382
Util.log("CommandAPI does not support this version of Minecraft, will update soon.");
8483
}

0 commit comments

Comments
 (0)