mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: rename "data" to "keys" to make EnergyLink work
This commit is contained in:
@@ -109,7 +109,7 @@ class FactorioContext(CommonContext):
|
|||||||
item_name in args["checked_locations"]})
|
item_name in args["checked_locations"]})
|
||||||
if cmd == "Connected" and self.energy_link_increment:
|
if cmd == "Connected" and self.energy_link_increment:
|
||||||
asyncio.create_task(self.send_msgs([{
|
asyncio.create_task(self.send_msgs([{
|
||||||
"cmd": "SetNotify", "data": ["EnergyLink"]
|
"cmd": "SetNotify", "keys": ["EnergyLink"]
|
||||||
}]))
|
}]))
|
||||||
elif cmd == "SetReply":
|
elif cmd == "SetReply":
|
||||||
if args["key"] == "EnergyLink":
|
if args["key"] == "EnergyLink":
|
||||||
|
Reference in New Issue
Block a user