From 32d628b663c6bfea7d1062931ebe1826b05bfb20 Mon Sep 17 00:00:00 2001 From: Outfit8TSB Date: Tue, 22 Oct 2024 22:13:34 +0900 Subject: [PATCH] Update ViaVersionProtocolSupportBukkit.java --- .../ViaVersionProtocolSupportBukkit.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/falixsrv/approximasteranarchy2004/ViaVersionProtocolSupportBukkit.java b/src/main/java/me/falixsrv/approximasteranarchy2004/ViaVersionProtocolSupportBukkit.java index ba56cd0..aa49aa7 100644 --- a/src/main/java/me/falixsrv/approximasteranarchy2004/ViaVersionProtocolSupportBukkit.java +++ b/src/main/java/me/falixsrv/approximasteranarchy2004/ViaVersionProtocolSupportBukkit.java @@ -13,6 +13,7 @@ import org.bukkit.Bukkit; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; +import java.io.File; public class ViaVersionProtocolSupportBukkit extends JavaPlugin { @@ -41,7 +42,7 @@ public void onEnable() { } public void start() { - com.viaversion.viaversion.api.Via.getManager().addEnableListener(() -> this.init()); + com.viaversion.viaversion.api.Via.getManager().addEnableListener(() -> this.init(new File(getDataFolder(), "config.yml"))); } @Override