Page 1 of 1

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

Posted: Thu Jun 25, 2026 11:44 pm
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.

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

Posted: Fri Jun 26, 2026 5:00 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.