Page 1 of 1

[0.15.12] player.mine_entity() returns false

Posted: Mon May 22, 2017 1:21 am
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/

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

Posted: Mon May 22, 2017 1:40 am
by Rseding91
Fixed for the next version of 0.15.