mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-01 07:43:03 +00:00
PluginDescription: make sure that extensions constraints are actually strings
This commit is contained in:
parent
0b33762be0
commit
3e2926441d
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user