mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 20:28:31 +00:00
Fix double permission recalculation on op status change, fixes double sending of AvailableCommandsPacket
This commit is contained in:
parent
fffa5488fd
commit
d3fb8c46f5
@ -439,7 +439,6 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
$this->server->removeOp($this->getName());
|
$this->server->removeOp($this->getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->recalculatePermissions();
|
|
||||||
$this->sendSettings();
|
$this->sendSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user