Jump to content

item:isContainer() and itemType:iscontainer both seem to return false on containers.


Flatlander

Recommended Posts

item:isContainer() and itemType:iscontainer both seem to return false on containers.

 

Same as topic, when you grab an item, and either do
 

item:isContainer()

or

local itemType = g_things.getThingType(containerid)
itemType:isContainer()

 

both options will return false on all items (including containers)

Link to comment
Share on other sites

12 hours ago, Flatlander said:

Ok sometimes isContainer() works and sometimes it does not. I am doing more testing to try to determine when and why it breaks.

Once I have more information I will let you know.

should be fixed with version 18c, let me know if you still encounter the issue

Link to comment
Share on other sites

  • Zelek locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...