From f31f96b4bdc4e42a9cabae5f5fae4679e759a9cb Mon Sep 17 00:00:00 2001 From: HybridDog Date: Sat, 18 Apr 2015 11:51:06 +0200 Subject: [PATCH] fix another screwdriver crash --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 50e57b5..06d5b35 100644 --- a/init.lua +++ b/init.lua @@ -113,6 +113,9 @@ end local function return_remove_next(allowed_name) local function remove_next(pos, oldnode) + if oldnode.param2 > 3 then + return + end local x, z = unpack(string.split(param_tab2[oldnode.param2], " ")) pos.x = pos.x-x pos.z = pos.z-z