mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
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:
parent
085ff56362
commit
2fb3b41b8d
@ -98,6 +98,10 @@ class ScriptPluginLoader implements PluginLoader{
|
||||
$key = $matches[1];
|
||||
$content = trim($matches[2]);
|
||||
|
||||
if($key === "notscript"){
|
||||
return null;
|
||||
}
|
||||
|
||||
$data[$key] = $content;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user