This commit is contained in:
GameHerobrine 2023-08-30 08:24:27 +03:00
parent 64d81f99cb
commit 6c41f56a63

View file

@ -149,7 +149,8 @@ class PluginAPI extends stdClass{
$aver = CURRENT_API_VERSION;
if(!in_array((string) CURRENT_API_VERSION, $pluginInfo["api"])){
$s = implode(", ", $pluginInfo["api"]);
if(is_array($pluginInfo)) $s = implode(",",$pluginInfo["api"]);
else $s = $pluginInfo["api"];
console("[WARNING] API is not the same as Core, might cause bugs({$s} != {$aver})");
}