mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
small tweaks
This commit is contained in:
parent
a898eb1970
commit
3510e90926
3 changed files with 13 additions and 7 deletions
|
|
@ -12,6 +12,8 @@ class PMFLevel extends PMF{
|
|||
private $chunks = [];
|
||||
private $chunkChange = [];
|
||||
public $chunkInfo = [];
|
||||
public $placeBlocksOnNextGen = [];
|
||||
|
||||
public function __construct($file, $blank = false){
|
||||
if(is_array($blank)){
|
||||
$this->create($file, 0);
|
||||
|
|
@ -600,7 +602,8 @@ class PMFLevel extends PMF{
|
|||
if($this->loadChunk($X, $Z) === false){
|
||||
return false;
|
||||
}
|
||||
}elseif($this->chunks[$index][$Y] === false){
|
||||
}
|
||||
if($this->chunks[$index][$Y] === false){
|
||||
$this->fillMiniChunk($X, $Z, $Y);
|
||||
}
|
||||
$aX = $x - ($X << 4);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue