You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-11-27 22:38:18 +02:00
Utils fix
This commit is contained in:
@@ -348,6 +348,14 @@ local function execute(event)
|
||||
return reject('Inputted value is not of type boolean. Valid values are: true, false.')
|
||||
end
|
||||
|
||||
--[[ if command_data.command_activated and param == 'true' then
|
||||
return handle_error(output.command_is_active, 'utility/cannot_build')
|
||||
end
|
||||
|
||||
if not command_data.command_activated and param == 'false' then
|
||||
return handle_error(output.command_is_inactive, 'utility/cannot_build')
|
||||
end ]]
|
||||
|
||||
if param == 'true' then
|
||||
param = true
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user