fix wireless pattern terminal not toggling substitution
This commit is contained in:
@@ -157,7 +157,7 @@ public class PacketValueConfig extends AppEngPacket {
|
||||
} else if (this.Name.equals("PatternTerminal.MaximizeCount")) {
|
||||
cpt.maximizeCount();
|
||||
} else if (this.Name.equals("PatternTerminal.Substitute")) {
|
||||
cpt.getPart().setSubstitution(this.Value.equals("1"));
|
||||
cpt.setSubstitute(this.Value.equals("1"));
|
||||
}
|
||||
}
|
||||
} else if (this.Name.startsWith("StorageBus.")) {
|
||||
|
||||
Reference in New Issue
Block a user