McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
92 stars 53 forks source link

Copy/Paste connector of logic channel set to output does not copy redstone level #341

Open calloatti opened 5 years ago

calloatti commented 5 years ago

Issue description:

When copying/pasting a logic channel connector set to output, the redstone level is not copied and it is set to 0.

Steps to reproduce:

Create a logic channel, set a connector to output with a redstone level of 15, copy, paste into empty connector, redstone level is 0.

Versions:

image

image

DerSoftwerker commented 5 years ago

Can confirm.

Sky Factory 4 4.0.5

Gary57 commented 5 years ago

I want to add to this because I have found a related issue (I believe).

I set up a logic channel to "white" when a capacitor is low on energy. I set a furnace to input coal when "white" is enabled. If I add a new furnace and copy/paste the connector of the old furnace to it, the new furnace ignores the "white" logic level and does not stop inputting coal when it should. To correct the problem I found that if you cycle through all 16 colors (on the new connector) and come back to white again the new furnace will work correctly thereafter.

It appears that xnet is not copying the logic channels correctly. My example is a very simple setup to test. I'm using xnet-1.12-1.8.1.jar