When you try to access sun:body (or whatever the name of the root body of the universe may be in a modded system), you get
I know that you can use body:hasbody to check if an object has a parent body but it should still maybe say a more descriptive error like "Cannot get the parent body of the center of the universe" or something similar instead of just crashing like this.
When you try to access
sun:body(or whatever the name of the root body of the universe may be in a modded system), you getI know that you can use
body:hasbodyto check if an object has a parent body but it should still maybe say a more descriptive error like "Cannot get the parent body of the center of the universe" or something similar instead of just crashing like this.