diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/plugin_manager.py | 2 | ||||
| -rw-r--r-- | lib/triggerRespectiveHook.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/plugin_manager.py b/lib/plugin_manager.py index 5cc93d2..0a9174c 100644 --- a/lib/plugin_manager.py +++ b/lib/plugin_manager.py @@ -10,7 +10,7 @@ class PluginManager: def __init__(self): self.plugins = {} self.hooks= {} - self.commands = {} + self.commands = {'help': None} self.help_message = "List of Available Commands:\n" self.load_plugins() diff --git a/lib/triggerRespectiveHook.py b/lib/triggerRespectiveHook.py index 25801a0..f7dc443 100644 --- a/lib/triggerRespectiveHook.py +++ b/lib/triggerRespectiveHook.py @@ -59,7 +59,7 @@ def triggerRespectiveHook(packet_type, packet, player, message_to_client, messag keep_message = plugin_manager.triggar_hook('on_list', packet, player, message_to_client, message_to_server) else: keep_message = True - debug(f"Unknown packet type {packet_type}, C2S") + debug(f"Unimplemented packet type {packet_type}, C2S") return keep_message @@ -122,6 +122,6 @@ def triggerRespectiveHookServer(packet_type, packet, player, message_to_client, keep_message = plugin_manager.triggar_hook('on_list_server', packet, player, message_to_client, message_to_server) else: keep_message = True - debug(f"Unknown packet type {packet_type}, S2C") + debug(f"Unimplemented packet type {packet_type}, S2C") return keep_message |
