forked from SteamWar/SteamWar
Merge pull request 'fix(VelocityCore): server starter copping world to wrong path' (#427) from fix-event-server-naming into main
Reviewed-on: SteamWar/SteamWar#427 Reviewed-by: YoyoNow <4+yoyonow@noreply.localhost>
This commit is contained in:
@@ -201,8 +201,8 @@ public class ServerStarter {
|
|||||||
|
|
||||||
private void tempWorld(String template) {
|
private void tempWorld(String template) {
|
||||||
worldDir = TEMP_WORLD_PATH;
|
worldDir = TEMP_WORLD_PATH;
|
||||||
worldSetup = () -> copyWorld(node, template, worldDir + worldName);
|
worldSetup = () -> copyWorld(node, template, new File(worldDir, worldName).getPath());
|
||||||
worldCleanup = () -> SubserverSystem.deleteFolder(node, worldDir + worldName);
|
worldCleanup = () -> SubserverSystem.deleteFolder(node, new File(worldDir, worldName).getPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buildWithTemp(Player owner) {
|
private void buildWithTemp(Player owner) {
|
||||||
@@ -396,4 +396,4 @@ public class ServerStarter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user