Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Commit

Permalink
Remove Map stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
inxomnyaa committed Feb 11, 2017
1 parent b3d2218 commit 333c106
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pocketmine/Player.php
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ public function transferTo(string $address, int $port = 19132) {
$pk->address = $ev->getAddress();
$pk->port = $ev->getPort();
$this->dataPacket($pk);
$this->getServer()->getLogger()->info('Transferring player "' . $this->getName() . '" to ' . $ev->getAddress() . ':' . $ev->getPort());
Command::broadcastCommandMessage($this, new TranslationContainer("Transferred to {%0}:{%1}", [$ev->getAddress(), $ev->getPort()]));

return true;
}
Expand Down Expand Up @@ -1945,9 +1945,6 @@ public function handleDataPacket(DataPacket $packet){

$this->onPlayerPreLogin();

break;
case ProtocolInfo::MAP_INFO_REQUEST_PACKET:
var_dump($packet);
break;
case ProtocolInfo::MOVE_PLAYER_PACKET:
$newPos = new Vector3($packet->x, $packet->y - $this->getEyeHeight(), $packet->z);
Expand Down

0 comments on commit 333c106

Please sign in to comment.