diff --git a/bobinserters/control.lua b/bobinserters/control.lua index 4f3b74451..ab2a1c2a7 100644 --- a/bobinserters/control.lua +++ b/bobinserters/control.lua @@ -679,7 +679,8 @@ script.on_event(defines.events.on_built_entity, function(event) entity_name = entity.ghost_name end - if (entity.type == "inserter" or (entity.type == "entity-ghost" and entity.ghost_type == "inserter")) + if + (entity.type == "inserter" or (entity.type == "entity-ghost" and entity.ghost_type == "inserter")) and not storage.bobmods.inserters.blacklist[entity_name] then bobmods.logistics.set_positions(entity, event.player_index) diff --git a/boblogistics/control.lua b/boblogistics/control.lua index 5281a4915..c44d7d79f 100644 --- a/boblogistics/control.lua +++ b/boblogistics/control.lua @@ -446,7 +446,8 @@ script.on_event(defines.events.on_built_entity, function(event) entity_name = entity.ghost_name end - if not game.active_mods["bobinserters"] + if + not game.active_mods["bobinserters"] and (entity.type == "inserter" or (entity.type == "entity-ghost" and entity.ghost_type == "inserter")) and not storage.bobmods.logistics.blacklist[entity_name] then