projects
/
zefram
/
minetest
/
technic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d8ff45
)
Fix crash when quarrying a protected area
author
ShadowNinja
<shadowninja@minetest.net>
Mon, 18 Nov 2013 20:27:17 +0000
(15:27 -0500)
committer
ShadowNinja
<shadowninja@minetest.net>
Mon, 18 Nov 2013 20:27:17 +0000
(15:27 -0500)
technic/machines/HV/quarry.lua
patch
|
blob
|
history
diff --git
a/technic/machines/HV/quarry.lua
b/technic/machines/HV/quarry.lua
index a62be8f2a8879fcb5538cd2932937852eebd5e63..15b66622b6744915bd6abbe4468c422ca4d1fa4d 100644
(file)
--- a/
technic/machines/HV/quarry.lua
+++ b/
technic/machines/HV/quarry.lua
@@
-103,7
+103,7
@@
local function quarry_dig(pos, center, size)
end
if minetest.is_protected and minetest.is_protected(digpos, owner) then
meta:set_int("enabled", 0)
- return
+ return
{}
end
dig_y = digpos.y
local node = minetest.get_node(digpos)