forked from mtcontrib/connected_chests
fix another screwdriver crash
This commit is contained in:
parent
dcbe2523d5
commit
f31f96b4bd
3
init.lua
3
init.lua
@ -113,6 +113,9 @@ end
|
|||||||
|
|
||||||
local function return_remove_next(allowed_name)
|
local function return_remove_next(allowed_name)
|
||||||
local function remove_next(pos, oldnode)
|
local function remove_next(pos, oldnode)
|
||||||
|
if oldnode.param2 > 3 then
|
||||||
|
return
|
||||||
|
end
|
||||||
local x, z = unpack(string.split(param_tab2[oldnode.param2], " "))
|
local x, z = unpack(string.split(param_tab2[oldnode.param2], " "))
|
||||||
pos.x = pos.x-x
|
pos.x = pos.x-x
|
||||||
pos.z = pos.z-z
|
pos.z = pos.z-z
|
||||||
|
Loading…
Reference in New Issue
Block a user