From ff091fd3bce3bdba85706e3059f01766eb5eab68 Mon Sep 17 00:00:00 2001 From: Aaron Suen Date: Fri, 21 Oct 2022 07:26:14 -0400 Subject: [PATCH] Attempt hotfix for automation-dug totes too --- mods/nc_tote/node.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/nc_tote/node.lua b/mods/nc_tote/node.lua index 8f0dae77..ead81f5b 100644 --- a/mods/nc_tote/node.lua +++ b/mods/nc_tote/node.lua @@ -39,7 +39,7 @@ end local function totedug(pos, _, _, digger) local drop = ItemStack(modname .. ":handle") - if not digger:get_player_control().sneak then + if not (digger and digger:get_player_control().sneak) then local dump for dx = -1, 1 do for dz = -1, 1 do