mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 07:39:57 +00:00
Patched random generator on 64-bit
This commit is contained in:
parent
9d8e6d5f8c
commit
4c973ce625
@ -82,7 +82,7 @@ class Random{
|
|||||||
if($t > 2147483647){
|
if($t > 2147483647){
|
||||||
$t -= 4294967296;
|
$t -= 4294967296;
|
||||||
}
|
}
|
||||||
return (int) $t;
|
return (int) $t % 0x7fffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user