mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fixed Level::setMiniChunk() parameter bug
This commit is contained in:
parent
f5d69e6905
commit
d515da8963
1 changed files with 2 additions and 2 deletions
|
|
@ -351,7 +351,7 @@ class Level{
|
|||
if(!isset($this->level)){
|
||||
return false;
|
||||
}
|
||||
return $this->level->getMiniChunk($X, $Y, $Z);
|
||||
return $this->level->getMiniChunk($X, $Z, $Y);
|
||||
}
|
||||
|
||||
public function setMiniChunk($X, $Y, $Z, $data){
|
||||
|
|
@ -359,7 +359,7 @@ class Level{
|
|||
return false;
|
||||
}
|
||||
$this->changedCount[$X.":".$Y.":".$Z] = 4096;
|
||||
return $this->level->setMiniChunk($X, $Y, $Z, $data);
|
||||
return $this->level->setMiniChunk($X, $Z, $Y, $data);
|
||||
}
|
||||
|
||||
public function loadChunk($X, $Z){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue