mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added settings.query-plugins setting
This commit is contained in:
@ -60,7 +60,7 @@ class QueryHandler{
|
||||
$str = "";
|
||||
$plist = "PocketMine-MP " . $this->server->getPocketMineVersion();
|
||||
$pl = $this->server->getPluginManager()->getPlugins();
|
||||
if(count($pl) > 0){
|
||||
if(count($pl) > 0 and $this->server->getProperty("settings.query-plugins", true) === true){
|
||||
$plist .= ":";
|
||||
foreach($pl as $p){
|
||||
$d = $p->getDescription();
|
||||
|
Reference in New Issue
Block a user