CC: Tweaked

CC: Tweaked

57M Downloads

[1.12.2-1.83] rednet.lookup() is requiring two strings instead of only one

HydrantHunter opened this issue ยท 1 comments

commented

MC 1.12.2 / CC:T 1.83

What's happening:
When doing a rednet host lookup with rednet.lookup("someName") the lookup crashes out with the error "Bad argument #2 to 'lookup' (expected string, got nil) instead of returning one or more host IDs.

What's expected:
In prior versions of CC:T and CC the second string was optional for lookups, and the lookup would return the IDs of any computers hosting "someName", regardless of the second value on the host.

Thanks for all the effort put into CC:T - it's not unnoticed.

commented

Thanks for picking this up - terribly sorry about this! Tried to make sure all the tests were correct, but evidently missed one.