[2.1.8] LuaControl::mine_tile fails with non-player characters

This subforum contains all the issues which we already resolved.
User avatar
_CodeGreen
Fast Inserter
Fast Inserter
Posts: 104
Joined: Sat Mar 05, 2022 11:30 am
Contact:

[2.1.8] LuaControl::mine_tile fails with non-player characters

Post by _CodeGreen »

This method works with LuaPlayer, but spawning a character entity and using it to mine a tile fails.
The description of LuaControl states "Mines the given tile as if this player (or character) mined it." which is the exact same as LuaControl::mine_entity besides the word "tile", and mine_entity works completely fine with non-player characters.
My Mods | If you can't make it perfect, make it adjustable
Rseding91
Factorio Staff
Factorio Staff
Posts: 17037
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.8] LuaControl::mine_tile fails with non-player characters

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”