diff options
| author | Skipper <[email protected]> | 2025-02-14 21:52:28 +0000 |
|---|---|---|
| committer | Skipper <[email protected]> | 2025-02-14 21:52:28 +0000 |
| commit | 2d16176ba18901ded88419d3ac24a104d575e2e3 (patch) | |
| tree | 4f78af3df923b45b8dd5814818a83005a56f0670 | |
| parent | 17ad19c30478bb9361cb872d4e9bd4cd424edf49 (diff) | |
Removed unnecessary return
| -rw-r--r-- | plugins/custom_aircraft_list/Plugin.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/custom_aircraft_list/Plugin.py b/plugins/custom_aircraft_list/Plugin.py index b96920f..0fc1bd0 100644 --- a/plugins/custom_aircraft_list/Plugin.py +++ b/plugins/custom_aircraft_list/Plugin.py @@ -5,7 +5,7 @@ from lib.PacketManager.packets import List_Constructor from json import load from struct import pack from logging import error -ENABLED = True +ENABLED = False custom_list_file = "plugins\\custom_aircraft_list\\custom_list.json" class Plugin: @@ -27,7 +27,6 @@ class Plugin: def on_list(self, packet, player, message_to_client, message_to_server): if ENABLED: return False - return True def on_list_server(self, packet, player, message_to_client, message_to_server): if ENABLED: @@ -41,4 +40,3 @@ class Plugin: for packet in lc: message_to_client.append(packet) return False - return True |
