mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
test fix
This commit is contained in:
parent
69d5589191
commit
4b17c605b4
2 changed files with 2 additions and 2 deletions
|
|
@ -351,7 +351,7 @@ class Level{
|
|||
$index = $this->level->getIndex($cX, $cZ);
|
||||
if(!isset($this->level->chunks[$index]) || $this->level->chunks[$index] === false) continue;
|
||||
for($c = 0; $c <= 20; ++$c){
|
||||
$xyz = mt_rand(0, 0xffffffff) >> 2;//TODO fix php5
|
||||
$xyz = mt_rand(0, 0xffffffff) >> 2;
|
||||
$x = $xyz & 0xf;
|
||||
$z = ($xyz >> 8) & 0xf; //TODO might be possible to make some micro optmizations
|
||||
$y = ($xyz >> 16) & 0x7f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue