mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +00:00
Fixed leftover reference in pluginsPath() function
This commit is contained in:
parent
9f211bd7fb
commit
0e471ab38c
@ -122,7 +122,7 @@ class PluginAPI extends stdClass{
|
||||
}
|
||||
|
||||
public function pluginsPath(){
|
||||
$path = join(DIRECTORY_SEPARATOR, array(DATA_PATH."plugins", $p[1]["name"], ""));
|
||||
$path = join(DIRECTORY_SEPARATOR, array(DATA_PATH."plugins", ""));
|
||||
@mkdir($path);
|
||||
return $path;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user