wea.emerge_area: remove debug prints

This commit is contained in:
Starbeamrainbowlabs 2021-02-03 00:45:54 +00:00
parent a511d85e29
commit 85a715a0ea
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2

@ -57,7 +57,6 @@ local function emerge_callback(pos, action, num_calls_remaining, state)
state.loaded_blocks = state.loaded_blocks + 1
if state.loaded_blocks == state.total then
print("[DEBUG] after", state.callback)
state.callback(state, state.callback_state)
else
if action == minetest.EMERGE_CANCELLED then
@ -87,6 +86,5 @@ function worldeditadditions.emerge_area(pos1, pos2, callback, callback_state)
callback = callback,
callback_state = callback_state
}
print("[DEBUG] before", state.callback)
minetest.emerge_area(pos1, pos2, emerge_callback, state)
end