diff --git a/src/API/PluginAPI.php b/src/API/PluginAPI.php index fa054af9..14320291 100644 --- a/src/API/PluginAPI.php +++ b/src/API/PluginAPI.php @@ -148,8 +148,9 @@ class PluginAPI extends stdClass{ console("[INFO] Loading PHAR plugin \"".FORMAT_GREEN.$pluginInfo["name"].FORMAT_RESET."\" ".FORMAT_AQUA.$pluginInfo["version"].FORMAT_RESET." by ".FORMAT_AQUA.$pluginInfo["author"].FORMAT_RESET); $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})"); + if(!in_array((string) CURRENT_API_VERSION, $pluginInfo["api"])){ + $s = implode(", ", $pluginInfo["api"]); + console("[WARNING] API is not the same as Core, might cause bugs({$s} != {$aver})"); } $phr = "phar://$filePath/";