mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +00:00
Add plugin name info to Evaluation Error.
This commit is contained in:
parent
af486917a1
commit
1f1f955eef
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user