diff options
author | Novatux <nathanael.courant@laposte.net> | 2013-11-23 15:35:49 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2013-11-30 18:37:56 +0100 |
commit | d879a539cd19ddd1ee34afec2512fb2238de2822 (patch) | |
tree | 68105678426cb1a498bfe3ba4354506a9a560409 /src/client.h | |
parent | 752e11e11411d72868a406d35538adc5d1126655 (diff) | |
download | minetest-d879a539cd19ddd1ee34afec2512fb2238de2822.tar.gz minetest-d879a539cd19ddd1ee34afec2512fb2238de2822.tar.bz2 minetest-d879a539cd19ddd1ee34afec2512fb2238de2822.zip |
Add minetest.swap_node
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h index 9f5eb833b..eb0f225a2 100644 --- a/src/client.h +++ b/src/client.h @@ -365,7 +365,7 @@ public: // Causes urgent mesh updates (unlike Map::add/removeNodeWithEvent) void removeNode(v3s16 p); - void addNode(v3s16 p, MapNode n); + void addNode(v3s16 p, MapNode n, bool remove_metadata = true); void setPlayerControl(PlayerControl &control); |