mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-04-30 05:01:41 -04:00
Apply some reviews
This commit is contained in:
parent
cd3920c61b
commit
df9c221ccc
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ minetest.register_abm({
|
|||
local in_dig_up = false
|
||||
local mapgen_limit = tonumber(minetest.settings:get("mapgen_limit")) or 31007
|
||||
function default.dig_up(pos, node, digger, max_height)
|
||||
if in_dig_up then return end -- Avoid excess calls
|
||||
if in_dig_up then return end -- Do not recurse
|
||||
if digger == nil then return end
|
||||
max_height = max_height or mapgen_limit
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue