Skip to content

Commit

Permalink
Merge pull request #45 from dktapps/patch-1
Browse files Browse the repository at this point in the history
Fixed a couple of issues with strict types
  • Loading branch information
falkirks committed Jun 8, 2017
2 parents 281e1b6 + 3ef3b27 commit 9cc3ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/specter/network/SpecterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ public function decodeAdditional(){
$pk->username = $username;
$pk->gameEdition = 0;
$pk->protocol = ProtocolInfo::CURRENT_PROTOCOL;
$pk->clientUUID = UUID::fromData($address, $port, $username);
$pk->clientUUID = UUID::fromData($address, $port, $username)->toString();
$pk->clientId = 1;
$pk->identityPublicKey = "key here";
$pk->skin = str_repeat("\x80", 64 * 32 * 4);
$pk->skinId = 1;
$pk->skinId = "Standard_Alex";

$pk->handle($player);

Expand Down

0 comments on commit 9cc3ab1

Please sign in to comment.