mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Fixed map chunks bug
This commit is contained in:
parent
8543c06db4
commit
2b28e26392
1 changed files with 2 additions and 2 deletions
|
|
@ -347,14 +347,14 @@ class Level{
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMiniChunk($X, $Y, $Z){
|
public function getMiniChunk($X, $Z, $Y){
|
||||||
if(!isset($this->level)){
|
if(!isset($this->level)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return $this->level->getMiniChunk($X, $Z, $Y);
|
return $this->level->getMiniChunk($X, $Z, $Y);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setMiniChunk($X, $Y, $Z, $data){
|
public function setMiniChunk($X, $Z, $Y, $data){
|
||||||
if(!isset($this->level)){
|
if(!isset($this->level)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue