Skip to content

Commit

Permalink
Update ViaVersionProtocolSupportBukkit.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfit8TSB authored Oct 22, 2024
1 parent c3c60d2 commit 32d628b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 32d628b

Please sign in to comment.