mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-27 05:40:01 +00:00
Disable client-side locator bar (#6743)
Without a propper server-side implementation, it just a mess of white dots of nearby players
This commit is contained in:
parent
2a97b4294d
commit
177fa76434
@ -81,7 +81,8 @@ class PreSpawnPacketHandler extends PacketHandler{
|
||||
$levelSettings->lightningLevel = 0;
|
||||
$levelSettings->commandsEnabled = true;
|
||||
$levelSettings->gameRules = [
|
||||
"naturalregeneration" => new BoolGameRule(false, false) //Hack for client side regeneration
|
||||
"naturalregeneration" => new BoolGameRule(false, false), //Hack for client side regeneration
|
||||
"locatorbar" => new BoolGameRule(false, false) //Disable client-side tracking of nearby players
|
||||
];
|
||||
$levelSettings->experiments = new Experiments([], false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user