Changed the internal getDefTileType function static so that luagen didn't generate a binding for it