mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
e
This commit is contained in:
parent
5799426f1b
commit
b227d93787
1 changed files with 2 additions and 1 deletions
|
|
@ -148,7 +148,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})");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue