-
Notifications
You must be signed in to change notification settings - Fork 25
Description
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"