aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-04-07 15:58:04 -0400
committerGitHub <noreply@github.com>2022-04-07 21:58:04 +0200
commit0b5b2b2633609f646a534d353a2c587af4be46fa (patch)
tree8c8d56ab26b173c57eb2c0cff319eeae2c8e6cab /src/server.cpp
parent1348d9aaf834faa613bf3efe3a9d8fee758e85d0 (diff)
downloadminetest-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.cpp2
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