-
Notifications
You must be signed in to change notification settings - Fork 318
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
WirelessFluidDetectorCover always manipulates blocks redstone output to true #18177
Comments
if desired, i can also try to patch it to not take up the teams time. |
@Sanduhr32 That would be appreciated, thanks! |
i'll try my best to fix the bug then, that the first init of the cover on a face causes a constant redstone signal. should the cover also intentionally manipulate the faces redstone output to match the wireless signal? |
I believe i could trace it to here: https://github.com/GTNewHorizons/GT5-Unofficial/blob/5bbee72c52ca26597c14266642aa368b0fe964c6/src/main/java/gregtech/api/metatileentity/CoverableTileEntity.java#L506 Whenever a wireless detector cover is installed with I believe thats the bug, redstone output being set to 15. Any other cover emitting redstone seems to update the redstone value by it's logic being run fast enough. When a cover is removed this code is ran |
My mentioned commit in my previous comment seems to it for wireless detector covers. However i am hesitant to PR, as i'ld like to know whether the "simple & stupid" patch shall be chosen or the default redstone output shall be adjusted to a sane |
I am closing this, as the PR got merged. Thanks everyone involved :) |
Your GTNH Discord Username
san32
Your Pack Version
2.6.1
Your Server
private server
Java Version
Java 17
Type of Server
Don't know
Your Expectation
I tried if the wireless fluid detector cover also manipulates the block it's placed on redstone output like the non-wireless version. I expected it to output a redstone signal matching the threshold ruling.
The Reality
the cover manipulates any block it's placed on to output a redstone signal, regardless of threshold.
Your Proposal
wireless covers in addition to the wireless signal transmission also should correctly manipulate the blocks redstone output to be the same as the signal thats transmitted, like their non-wireless variants.
Final Checklist
The text was updated successfully, but these errors were encountered: