Added the @notscript tag in potential script plugins

Then we can have .php files in the plugins folder that contain /** but are not script plugins
This commit is contained in:
PEMapModder 2016-03-23 02:32:11 +08:00
parent 085ff56362
commit 2fb3b41b8d

View File

@ -98,6 +98,10 @@ class ScriptPluginLoader implements PluginLoader{
$key = $matches[1];
$content = trim($matches[2]);
if($key === "notscript"){
return null;
}
$data[$key] = $content;
}