ComposerFreak/ExpAdv3

[BUG] Wirelink lacks useful validity checks

Closed this issue · 3 comments

As per recommendations:
The following code causes a stack overflow, and there is no isValid for a wirelink entity.
Or nil check. For anything. it's getting a little annoying.

server {
    
    wirelink test = nil;
    
    ((entity)test).isValid()
}

Why are you using nil?

You where advised that using nil would break 99.999% of the time you use it, you where also advised that nil is being removed from the Lang as its not supportable.

Lastly, I did say never mention that fact we have nil in a public space, :(

DONT USE NIL! EVER!

ok, I have fixed the isvalid check with e3's nil value.

Again, STOP USING NIL!

I'd love to stop using nil, if I had another option. If you have a way to construct an empty wirelink that doesn't throw an error I am all ears.