From f32ea43eccabdbb56d425ca206ca3fff5d78be8c Mon Sep 17 00:00:00 2001 From: guise Date: Fri, 11 Jul 2025 10:50:01 +0200 Subject: [PATCH] change WarningMessage call from utility to CTX.printer when incorrect plugin identifiers are supplied --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 26bf81da..05ca66db 100755 --- a/build.py +++ b/build.py @@ -248,7 +248,7 @@ def Main(): valid_plugin_found = True break else: - utility.WarningMessage(f"Ignoring unknown plug-in '{plugin_id}'. Valid options are {PluginID.ACCESSIBILITY}, {PluginID.CORE}, {PluginID.CORE_HAPTICS}, {PluginID.GAME_CONTROLLER}, {PluginID.GAME_KIT}, {PluginID.PHASE}, or {PluginID.ALL} (Default)") + CTX.printer.WarningMessage(f"Ignoring unknown plug-in '{plugin_id}'. Valid options are {PluginID.ACCESSIBILITY}, {PluginID.CORE}, {PluginID.CORE_HAPTICS}, {PluginID.GAME_CONTROLLER}, {PluginID.GAME_KIT}, {PluginID.PHASE}, or {PluginID.ALL} (Default)") # -------------------------------------------------------------------------