mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Fixed #884
This commit is contained in:
parent
c197a58a3a
commit
af486917a1
@ -175,7 +175,7 @@ class PluginAPI extends stdClass{
|
|||||||
if($file{0} !== "."){
|
if($file{0} !== "."){
|
||||||
$ext = strtolower(substr($file, -3));
|
$ext = strtolower(substr($file, -3));
|
||||||
if($ext === "php" or $ext === "pmf"){
|
if($ext === "php" or $ext === "pmf"){
|
||||||
$this->load($dir . $file);
|
$this->load($dir->path . $file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user