[0.12.22] on_picked_up_item event not firing on belted items

This subforum contains all the issues which we already resolved.
Supercheese
Filter Inserter
Filter Inserter
Posts: 841
Joined: Mon Sep 14, 2015 7:40 am
Contact:

[0.12.22] on_picked_up_item event not firing on belted items

Post by Supercheese »

When I was testing earlier, I observed that the on_picked_up_item event did not trigger when picking up items that were on belts. I voiced my surprise on IRC and Rseding91 was able to reproduce the issue. As an example, the code:

Code: Select all

script.on_event(defines.events.on_picked_up_item, function(event)
    local player = game.get_player(event.player_index)
    player.print("Item picked up.")
end)
Will print the message as expected when picking up items on the ground that are not on belts, but will fail to print anything when picking up items that are on belts.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.12.22] on_picked_up_item event not firing on belted items

Post by kovarex »

Thanks for the report, it is fixed for 0.12.23
Post Reply

Return to “Resolved Problems and Bugs”