Attempt hotfix for automation-dug totes too

This commit is contained in:
Aaron Suen 2022-10-21 07:26:14 -04:00
parent 2e54974a09
commit ff091fd3bc

View File

@ -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