diff options
author | Alexander Harkness <me@bearbin.net> | 2016-07-30 13:21:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-30 13:21:11 +0200 |
commit | 62702cab48ab3b8922f28d8492582627b68d7b9f (patch) | |
tree | 7ace7457653d3de81d824ad1ace40b6e9ddc7597 /src/main.cpp | |
parent | Merge pull request #3289 from cuberite/autocompletefix2 (diff) | |
download | cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.gz cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.bz2 cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.lz cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.xz cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.zst cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.zip |
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 76af90cde..6061602d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -392,7 +392,7 @@ static std::unique_ptr<cMemorySettingsRepository> ParseArguments(int argc, char { for (auto port: portsArg.getValue()) { - repo->AddValue("Server", "Port", static_cast<Int64>(port)); + repo->AddValue("Server", "Ports", std::to_string(port)); } } if (commLogArg.getValue()) @@ -555,7 +555,3 @@ int main(int argc, char ** argv) return EXIT_SUCCESS; } - - - - |