From 73b14d382618ede5602d5b86b58c87e898ccbefd Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Fri, 4 Mar 2022 21:41:07 +0100 Subject: [PATCH] Factorio: rename "data" to "keys" to make EnergyLink work --- FactorioClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FactorioClient.py b/FactorioClient.py index 82f58cf806b7..cd46bb3a2e7a 100644 --- a/FactorioClient.py +++ b/FactorioClient.py @@ -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":