Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Fixes #7578
Browse files Browse the repository at this point in the history
  • Loading branch information
schwiti6190 committed Oct 27, 2021
1 parent 262b69a commit c34c641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ end
---@param object table
---@param logPrefix string
function WorkWidthUtil.getShovelWorkWidth(object,logPrefix)
if object.spec_shovel then
if object.spec_shovel and object.spec_shovel.shovelNodes and object.spec_shovel.shovelNodes[1] then
local width = object.spec_shovel.shovelNodes[1].width
WorkWidthUtil.debug(object,logPrefix,'is a shovel with work width: %.1f',width)
return width
Expand Down

0 comments on commit c34c641

Please sign in to comment.