New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hammer tube repair issue with TP tubes #36
Comments
Also does anyone have idea why there's empty space in messages like this?
|
Not sure, maybe to align it with other messages, but it's not even a "tab" character 🤔 |
probably to show that these additional lines belong to line started at line 67 and that they are not individual messages |
Yep, I just noticed it when testing, it makes them line up:
I don't know why they are on separate lines though, it's not like line length matters with log messages... |
I think it's just to make them stand out more and easier to read. I sometimes do that when debugging but mostly remove it for deployment. |
TP tubes refusing to continue sending when broken and then repaired again.
Tubes should have optional repair method to allow overriding default minetest.swap_node repair behavior with additional stuff.
That makes fixing simple while keeping full compatibility and allowing any behavior node requires for repair.
Just call new
def.on_repair
ordef.pipeworks_on_repair
or whatever here if it is defined or use old behavior as fallback:pipeworks/routing_tubes.lua
Lines 86 to 88 in 7b15bdb
The text was updated successfully, but these errors were encountered: