mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
actually 1 param will be noticed
This commit is contained in:
parent
1ce1f77e54
commit
755db0ec44
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ class Utils{
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getRandomBytes($length = 16, $secure = true, $raw = true, $startEntropy = "", &$rounds = 0, &$drop = 0){
|
public static function getRandomBytes($length = 16, $secure = true, $raw = true, $startEntropy = "", &$rounds = 0, &$drop = 0){
|
||||||
return random_bytes($length); //nobody would ever notice other parameters
|
return $raw ? bin2hex(random_bytes($length)) : random_bytes($length); //nobody would ever notice other parameters
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function chance($i){//GameHerobrine's code
|
public static function chance($i){//GameHerobrine's code
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue