Call a Plumber


Pipes can only transport compatible fluids. You weren't going to put molten iron in an iron pipe, were you? Can be customized by other mods.

Content
a month ago
2.0
664
Fluids

b Bad Remote Input Sanitization

2 months ago

You check to make sure the type of the input is not type(x) == "string", which always returns false. You'll need to do type(x) ~= "string" instead

This is because not has a higher precedence than ==, so it evaluates not type(x) before type(x) == "string"

Also, your remote examples are incorrect. Remote calling syntax is remote.call("interface-name", "function-name", ...)

2 months ago

Thank you, I have fixed the error checking and documentation.

New response