mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Update Utils.php
Correct a typo
This commit is contained in:
parent
33e312c7d0
commit
4e76c30788
@ -59,7 +59,7 @@ class Utils{
|
|||||||
|
|
||||||
public static function toUUID($data, $version = 2, $fixed = "8"){
|
public static function toUUID($data, $version = 2, $fixed = "8"){
|
||||||
if(strlen($data) !== 16){
|
if(strlen($data) !== 16){
|
||||||
throw new \InvalidArgumentException("Data bust be 16 bytes");
|
throw new \InvalidArgumentException("Data must be 16 bytes");
|
||||||
}
|
}
|
||||||
|
|
||||||
$hex = bin2hex($data);
|
$hex = bin2hex($data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user