Revert servers.txt Change

This commit is contained in:
TheBrokenRail 2024-06-16 00:04:42 -04:00
parent 74ee75e12f
commit 36fe263ede
3 changed files with 4 additions and 3 deletions

View File

@ -33,7 +33,6 @@
* Add Splash Text To Start Screen * Add Splash Text To Start Screen
* `overwrite_calls` Now Scans VTables * `overwrite_calls` Now Scans VTables
* Unify Server/Client Builds * Unify Server/Client Builds
* Use `|` For Separator In `servers.txt` Instead Of `:`
**2.5.3** **2.5.3**
* Add `Replace Block Highlight With Outline` Feature Flag (Enabled By Default) * Add `Replace Block Highlight With Outline` Feature Flag (Enabled By Default)

View File

@ -72,7 +72,9 @@ void bootstrap() {
DEBUG("Binary Directory: %s", binary_directory.c_str()); DEBUG("Binary Directory: %s", binary_directory.c_str());
// Copy SDK // Copy SDK
if (!reborn_is_server()) {
copy_sdk(binary_directory, true); copy_sdk(binary_directory, true);
}
// Set MCPI_REBORN_ASSETS_PATH // Set MCPI_REBORN_ASSETS_PATH
{ {

View File

@ -55,7 +55,7 @@ static void load_servers() {
// Parse // Parse
std::string address; std::string address;
std::string port_str; std::string port_str;
size_t separator_pos = line.find_last_of('|'); size_t separator_pos = line.find_last_of(':');
if (separator_pos == std::string::npos) { if (separator_pos == std::string::npos) {
port_str = "19132"; port_str = "19132";
address = line; address = line;