diff options
author | 0gb.us <0gb.us@0gb.us> | 2013-03-28 01:24:48 -0700 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-29 14:18:51 -0400 |
commit | 02cbb5810774ec0d8eb43b6cd5796a3d43878fe1 (patch) | |
tree | f0d1c3ddea7cb8101d7211545dd912684838fa2c /doc/mapformat.txt | |
parent | 5b854f95d2144710493520151aafc48a887ac1b3 (diff) | |
download | minetest-02cbb5810774ec0d8eb43b6cd5796a3d43878fe1.tar.gz minetest-02cbb5810774ec0d8eb43b6cd5796a3d43878fe1.tar.bz2 minetest-02cbb5810774ec0d8eb43b6cd5796a3d43878fe1.zip |
Fix node replacement in not-quite-loaded chunks
When first entering an area, sometimes placing nodes replaces other nodes that are not buildable_to. This seems to be caused by the fact that nodes in unloaded map blocks are treated as ignore, a node that is buildable_to. This fixes that, by using get_node_or_nil() instead of the previously-used get_node(), then checking to see if the nodes were actually loaded before replacing.
Diffstat (limited to 'doc/mapformat.txt')
0 files changed, 0 insertions, 0 deletions