aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_server.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-09-17 20:08:11 +0200
committerest31 <MTest31@outlook.com>2015-09-17 20:23:31 +0200
commit94f1e5d9bdd30725a7a63b668450dc0646a873cd (patch)
treeeb6e3de2acf5b808b9111c3c807b75eff6bcabc2 /src/script/lua_api/l_server.h
parentdcbb95338a9b0e2c5c95fcfc6eeceb9d6d93f320 (diff)
downloadminetest-94f1e5d9bdd30725a7a63b668450dc0646a873cd.tar.gz
minetest-94f1e5d9bdd30725a7a63b668450dc0646a873cd.tar.bz2
minetest-94f1e5d9bdd30725a7a63b668450dc0646a873cd.zip
Send proper block to old clients for swap_node calls
The legacy code added in commit d879a539cd19ddd1ee34afec2512fb2238de2822 - "Add minetest.swap_node" for sending the whole mapblock to older clients on the case of a node modification with swap_node, had the problem that the block chosen to be sent to the client was referenced with node coordinates and not with block coordinates, resulting in getting the wrong block sent to the client.
Diffstat (limited to 'src/script/lua_api/l_server.h')
0 files changed, 0 insertions, 0 deletions