mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Removed MT Random generator namespace
This commit is contained in:
parent
b7083032f3
commit
acc373525f
2 changed files with 6 additions and 16 deletions
|
|
@ -30,7 +30,7 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
class Random{
|
||||
private $random;
|
||||
public function __construct($seed = false){
|
||||
$this->random = new mersenne_twister\twister(0);
|
||||
$this->random = new twister(0);
|
||||
$this->setSeed($seed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue