diff --git a/src/modules/EventsSystem/events_system.py b/src/modules/EventsSystem/events_system.py index 6263605..02a0f07 100644 --- a/src/modules/EventsSystem/events_system.py +++ b/src/modules/EventsSystem/events_system.py @@ -141,7 +141,7 @@ def call_event(self, event_name, *args, **kwargs): return funcs_data def call_lua_event(self, event_name, *args): - self.log.debug(f"Calling lua event: '{event_name} ({args})'") + self.log.debug(f"Calling lua event: '{event_name}{args}'") funcs_data = [] if event_name in self.__lua_events.keys(): for data in self.__lua_events[event_name]: diff --git a/src/modules/PluginsLoader/lua_plugins_loader.py b/src/modules/PluginsLoader/lua_plugins_loader.py index 8ebe91d..03b9e1f 100644 --- a/src/modules/PluginsLoader/lua_plugins_loader.py +++ b/src/modules/PluginsLoader/lua_plugins_loader.py @@ -109,8 +109,9 @@ def CancelEventTimer(self, event_name: str): del self._event_timers[event_name] def TriggerLocalEvent(self, event_name, *args): - self.log.debug("request TriggerLocalEvent()") - self.log.debug(f"Calling local lua event: '{event_name}{args}'") + if event_name != "getTable": + self.log.debug("request TriggerLocalEvent()") + self.log.debug(f"Calling local lua event: '{event_name}{args}'") funcs_data = [] if event_name in self._local_events.keys(): for func_name in self._local_events[event_name]: