From 242618bd83a3ca591e8d61e2c9d8bd1c8ef28ffb Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Sun, 13 Oct 2024 09:16:18 -0400 Subject: [PATCH] Bump vital api --- gradle/libs.versions.toml | 2 +- .../java/com/badbones69/crazyauctions/CrazyAuctions.java | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 428dc90..90ecf71 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -36,7 +36,7 @@ gson = "2.10.1" jalu = "1.4.1" # Vital API -vital-paper = "0.0.7" +vital-paper = "1.0.6" [libraries] # Velocity API diff --git a/paper/src/main/java/com/badbones69/crazyauctions/CrazyAuctions.java b/paper/src/main/java/com/badbones69/crazyauctions/CrazyAuctions.java index 797e9c5..302850b 100644 --- a/paper/src/main/java/com/badbones69/crazyauctions/CrazyAuctions.java +++ b/paper/src/main/java/com/badbones69/crazyauctions/CrazyAuctions.java @@ -24,7 +24,6 @@ import org.bukkit.command.TabCompleter; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; import org.jetbrains.annotations.NotNull; -import java.io.File; public class CrazyAuctions extends Vital { @@ -46,9 +45,9 @@ public class CrazyAuctions extends Vital { return; } - getFileManager().addFile(new File(getDataFolder(), "config.yml")) - .addFile(new File(getDataFolder(), "data.yml")) - .addFile(new File(getDataFolder(), "messages.yml")) + getFileManager().addFile("config.yml") + .addFile("data.yml") + .addFile("messages.yml") .init(); InventoryManager.loadButtons();