Pyroxenium / Basalt

A UI Framework for CC:Tweaked
MIT License
194 stars 38 forks source link

Fix addObject() by renaming to addChild() #84

Closed thesabinelim closed 1 year ago

thesabinelim commented 1 year ago

addObject() wasn't working because Container has add methods for all object types, of which Object is one of them. This overrides the other addObject(), which funnily enough also depends on the original addObject().

It makes sense to rename addObject() to addChild(), as well as all other child-related functions, to avoid confusion.