[0.15.12] player.mine_entity() returns false

This subforum contains all the issues which we already resolved.
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 525
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[0.15.12] player.mine_entity() returns false

Post by Mylon »

player.mine_entity(entity) returns false even when mining succeeds.

To recreate,
* place an entity (like the starting stone furnace),
* mouse over the entity
* and then run in the console:

Code: Select all

/c game.print(game.player.mine_entity(game.player.selected))
Observed behavior:

* Entity disappears.
* Item is returned to inventory.
* Console prints false.

Expected behavior:

* Entity disappears
* Item is returned to inventory
* Console prints true (if the above two occur)

Screenshot: https://steamuserimages-a.akamaihd.net/ ... 562C2BE7D/
Rseding91
Factorio Staff
Factorio Staff
Posts: 14280
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.12] player.mine_entity() returns false

Post by Rseding91 »

Fixed for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”