Skip to content

Commit

Permalink
Factorio: rename "data" to "keys" to make EnergyLink work
Browse files Browse the repository at this point in the history
  • Loading branch information
Berserker66 committed Mar 4, 2022
1 parent 7ca6f24 commit 73b14d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FactorioClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def on_package(self, cmd: str, args: dict):
item_name in args["checked_locations"]})
if cmd == "Connected" and self.energy_link_increment:
asyncio.create_task(self.send_msgs([{
"cmd": "SetNotify", "data": ["EnergyLink"]
"cmd": "SetNotify", "keys": ["EnergyLink"]
}]))
elif cmd == "SetReply":
if args["key"] == "EnergyLink":
Expand Down

0 comments on commit 73b14d3

Please sign in to comment.