From daea45c0d39e125977eca1d83fab539adc0547ed Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Wed, 30 Aug 2023 08:21:10 +0300 Subject: [PATCH] c --- src/API/PluginAPI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index f8b87aa8..808a3a26 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -148,7 +148,8 @@ class PluginAPI extends stdClass{ $aver = CURRENT_API_VERSION; if(!in_array((string) CURRENT_API_VERSION, $pluginInfo["api"])){ - console("[WARNING] API is not the same as Core, might cause bugs({$pluginInfo["api"]} != {$aver})"); + $s = implode(", ", $pluginInfo["api"]); + console("[WARNING] API is not the same as Core, might cause bugs({$s} != {$aver})"); } $phr = "phar://$filePath/";