diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-04-07 15:58:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 21:58:04 +0200 |
commit | 0b5b2b2633609f646a534d353a2c587af4be46fa (patch) | |
tree | 8c8d56ab26b173c57eb2c0cff319eeae2c8e6cab /src/server.cpp | |
parent | 1348d9aaf834faa613bf3efe3a9d8fee758e85d0 (diff) | |
download | minetest-0b5b2b2633609f646a534d353a2c587af4be46fa.tar.gz minetest-0b5b2b2633609f646a534d353a2c587af4be46fa.tar.bz2 minetest-0b5b2b2633609f646a534d353a2c587af4be46fa.zip |
Disentangle map implementations (#12148)
Fixes violation of Liskov substitution principle
Fixes #12144
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 4bc049e32..8ca8a9bda 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -665,7 +665,7 @@ void Server::AsyncRunStep(bool initial_step) ScopeProfiler sp(g_profiler, "Server: liquid transform"); std::map<v3s16, MapBlock*> modified_blocks; - m_env->getMap().transformLiquids(modified_blocks, m_env); + m_env->getServerMap().transformLiquids(modified_blocks, m_env); /* Set the modified blocks unsent for all the clients |