diff --git a/src/core/Client.py b/src/core/Client.py index ac276f1..e5259ee 100644 --- a/src/core/Client.py +++ b/src/core/Client.py @@ -696,7 +696,7 @@ async def _handle_codes(self, data): self.log.error(f"Received event in invalid format (missing ':'), got: {data}") event_name = data[2:sep] even_data = data[sep + 1:] - ev.call_lua_event(event_name, even_data) + ev.call_lua_event(event_name, self.cid, even_data) ev.call_event(event_name, data=even_data, player=self) await ev.call_async_event(event_name, data=even_data, player=self) case "N":