mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
d
This commit is contained in:
parent
daea45c0d3
commit
a778de1ff3
1 changed files with 2 additions and 1 deletions
|
|
@ -148,7 +148,8 @@ class PluginAPI extends stdClass{
|
||||||
|
|
||||||
$aver = CURRENT_API_VERSION;
|
$aver = CURRENT_API_VERSION;
|
||||||
if(!in_array((string) CURRENT_API_VERSION, $pluginInfo["api"])){
|
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})");
|
console("[WARNING] API is not the same as Core, might cause bugs({$s} != {$aver})");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue