mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 04:35:20 +01:00
Disentangle map implementations (#12148)
Fixes violation of Liskov substitution principle Fixes #12144
This commit is contained in:
committed by
GitHub
parent
1348d9aaf8
commit
0b5b2b2633
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user