Skip to content

OpenBlocks tank getTankInfo #274

@redstonedude0

Description

@redstonedude0

It has previously been noted in
#42 and #43
that the getTankInfo() for an openblocks tank only returns the data for 1 tank, not the entire structure, however this does not fit with the return type or getAdvancedMethodsData - specifically the method getTankInfo() returns a table of tanks with only 1 element, it ought to just return the 1 element if it is only going to return 1 tank.
Furthermore, and probably more importantly, the getAdvancedMethodsData for getTankInfo states "A table of tanks will be returned, each with a table of information", clearly making it seem like getTankInfo is meant to return more than 1 tank if relevant, this ought to be changed to either "A table of information will be returned", or "A table of 1 tank will be returned, represented by a table of information"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions