mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
PluginDescription: make sure that extensions constraints are actually strings
This commit is contained in:
@@ -132,7 +132,7 @@ class PluginDescription{
|
|||||||
$k = $v;
|
$k = $v;
|
||||||
$v = "*";
|
$v = "*";
|
||||||
}
|
}
|
||||||
$this->extensions[$k] = is_array($v) ? $v : [$v];
|
$this->extensions[$k] = array_map('strval', is_array($v) ? $v : [$v]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user