Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
@Plugin(
id = "playerbalancer",
name = "PlayerBalancer Velocity",
version = "2.3.3",
version = "2.3.4",
description = "PlayerBalancer is a plugin for setting up a network with multiple lobbies of different types.",
authors = {"jaime29010", "BGHDDevelopment", "HappyAreaBean"},
dependencies = {
Expand Down Expand Up @@ -160,10 +160,10 @@ private void execStart() {
if (!dataDirectory.toFile().exists())
dataDirectory.toFile().mkdir();

File file = new File(dataDirectory.toFile(), "plugin.conf");
File file = new File(dataDirectory.toFile(), "/plugin.conf");

if (!file.exists()) {
try (InputStream in = getClass().getResourceAsStream("velocity.conf")) {
try (InputStream in = getClass().getResourceAsStream("/velocity.conf")) {
Files.copy(in, file.toPath());
} catch (IOException e) {
logger.error("Unable to copy velocity.conf", e);
Expand Down