DonBruce64 / MinecraftTransportSimulator

A Minecraft mod that adds planes and automobiles with realistic physics!
Other
113 stars 60 forks source link

part_present variable doesn't work on parts #726

Closed DrprofLuigi closed 3 years ago

DrprofLuigi commented 3 years ago

I am trying to toggle visibility on a part using the part_present variable, but it doesn't do anything. It took me an hour to realize that it was because the part_present variable just plain doesn't work on subParts.

An example of this can be seen in the UNU Standard Seat with the Seatbelt Item in the UNU DEV I pm'd you.

If subParts using part_present would much up the part number indexing (or isn't possible because they're subParts, not parts), having a subpart_present variable would work fine.

DonBruce64 commented 3 years ago

I remember fixing this sometime, but I can't remember when. As the bug isn't present in 19.15.0 though, I'm closing this ticket.