diff options
author | red-001 <red-001@outlook.ie> | 2017-01-30 19:10:37 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-03-13 23:56:05 +0100 |
commit | 37df9cb7d764891f29b433e80a0d5663fee1a94f (patch) | |
tree | efed423ad2021439267eb5e1e8719fb8514ea6d7 /src/client.h | |
parent | 073f5cf03d95ce1cdf04ce8a0adcaf1fc571d95f (diff) | |
download | minetest-37df9cb7d764891f29b433e80a0d5663fee1a94f.tar.gz minetest-37df9cb7d764891f29b433e80a0d5663fee1a94f.tar.bz2 minetest-37df9cb7d764891f29b433e80a0d5663fee1a94f.zip |
[CSM] Add `get_node` and `get_node_or_nil`
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 9b7130268..dc4469350 100644 --- a/src/client.h +++ b/src/client.h @@ -441,6 +441,7 @@ public: // Causes urgent mesh updates (unlike Map::add/removeNodeWithEvent) void removeNode(v3s16 p); + MapNode getNode(v3s16 p, bool *is_valid_position); void addNode(v3s16 p, MapNode n, bool remove_metadata = true); void setPlayerControl(PlayerControl &control); |