Skip to content

Commit

Permalink
Fix wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Oct 12, 2016
1 parent 6b06e40 commit 2fba107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pocketmine/utils/UUID.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function toBinary(){
public function toString(){
$hex = bin2hex(self::toBinary());

//xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx 8-4-4-12
//xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx 8-4-4-4-12
if($this->version !== null){
return substr($hex, 0, 8) . "-" . substr($hex, 8, 4) . "-" . hexdec($this->version) . substr($hex, 13, 3) . "-8" . substr($hex, 17, 3) . "-" . substr($hex, 20, 12);
}
Expand Down

0 comments on commit 2fba107

Please sign in to comment.