mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
Player: Remove useless assignments from constructor
This commit is contained in:
parent
41592a04b7
commit
7d88a8b315
@ -697,9 +697,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
$this->setLevel($this->server->getDefaultLevel());
|
$this->setLevel($this->server->getDefaultLevel());
|
||||||
$this->boundingBox = new AxisAlignedBB(0, 0, 0, 0, 0, 0);
|
$this->boundingBox = new AxisAlignedBB(0, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
$this->uuid = null;
|
|
||||||
$this->rawUUID = null;
|
|
||||||
|
|
||||||
$this->creationTime = microtime(true);
|
$this->creationTime = microtime(true);
|
||||||
|
|
||||||
$this->allowMovementCheats = (bool) $this->server->getProperty("player.anti-cheat.allow-movement-cheats", false);
|
$this->allowMovementCheats = (bool) $this->server->getProperty("player.anti-cheat.allow-movement-cheats", false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user