mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-02 08:09:55 +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(){
|
public function pluginsPath(){
|
||||||
$path = join(DIRECTORY_SEPARATOR, array(DATA_PATH."plugins", $p[1]["name"], ""));
|
$path = join(DIRECTORY_SEPARATOR, array(DATA_PATH."plugins", ""));
|
||||||
@mkdir($path);
|
@mkdir($path);
|
||||||
return $path;
|
return $path;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user