mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Add plugin name info to Evaluation Error.
This commit is contained in:
parent
af486917a1
commit
1f1f955eef
1 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ class PluginAPI extends stdClass{
|
|||
return false;
|
||||
}
|
||||
if(eval($info["code"]) === false or ($info["class"] !== "none" and !class_exists($info["class"]))){
|
||||
console("[ERROR] Failed loading plugin: evaluation error");
|
||||
console("[ERROR] Failed loading {$info['name']}: evaluation error");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -205,4 +205,4 @@ class DummyPlugin implements Plugin{
|
|||
|
||||
public function __destruct(){
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue