LuaSurface.get_tile missing param type

Place to report issues and suggest improvements to the API documentation.
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Sat Mar 05, 2022 11:30 am
Contact:

LuaSurface.get_tile missing param type

Post by _CodeGreen »

LuaSurface.get_tile (and set_tile) says it takes two parameters, x and y, which are both integers.
However, in the description it says it can instead take a singular TilePosition, but it is not actually included in the typedef, which trickles down into sumneko LuaLS giving me a warning for both missing-parameter and param-type-mismatch.

Any chance this could be included?
My Mods | If you can't make it perfect, make it adjustable
Post Reply

Return to “Documentation Improvement Requests”