Closed ScottKillen closed 4 years ago
Hi @ScottKillen. Thanks for the patch. This change is fine with me, but it does make me worry more that there is no error checking in place for a port already in use by a different world...
@sandain That is a good point, but there is also no error checking when the port is specified.
I'll see what I can do.
Would it be better to check all worlds, or only enabled worlds?
I created a new Issue (#254) for the error checking. You are right, there was no error checking prior to your patch either. I think enabled worlds should be checked for sure, disabled worlds might produce a warning rather than an error.
I did not also implement this on 'import' because I don't generally use it, but I can.