From 5dc3fe4fe99667bd811353a85b3f6a9b7ce1f77f Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Tue, 19 Aug 2014 16:26:37 +0200 Subject: [PATCH] Fix backwards-incompatible change --- src/pocketmine/Player.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 7d47297bb..dcc4678f8 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -148,6 +148,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ protected $displayName; protected $startAction = false; protected $sleeping = false; + protected $clientID = null; public $usedChunks = []; protected $loadQueue = []; @@ -394,6 +395,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ $this->lastBreak = microtime(true); $this->ip = $ip; $this->port = $port; + $this->clientID = $clientID; $this->spawnPosition = $this->server->getDefaultLevel()->getSafeSpawn(); $this->timeout = microtime(true) + 20; $this->gamemode = $this->server->getGamemode();