diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-11-24 16:01:04 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-11-24 16:01:04 +0100 |
commit | 1ccf88e80a3a07570b02723afc90dc87a647a051 (patch) | |
tree | d6978c9bc15db01937705391624e4960c8cdd2e3 /src/script/lua_api/l_client.cpp | |
parent | c8900e169a1ddceec07a449f1ae7c4322ff02036 (diff) | |
download | dragonfireclient-1ccf88e80a3a07570b02723afc90dc87a647a051.tar.xz |
minetest.dig_node: Remove node
Diffstat (limited to 'src/script/lua_api/l_client.cpp')
-rw-r--r-- | src/script/lua_api/l_client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.cpp b/src/script/lua_api/l_client.cpp index 916983982..1d769c73e 100644 --- a/src/script/lua_api/l_client.cpp +++ b/src/script/lua_api/l_client.cpp @@ -455,6 +455,7 @@ int ModApiClient::l_dig_node(lua_State *L) pointed.node_undersurface = pos; client->interact(INTERACT_START_DIGGING, pointed); client->interact(INTERACT_DIGGING_COMPLETED, pointed); + client->removeNode(pos); return 0; } |