mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-25 12:23:48 +00:00
Fixed map chunks bug
This commit is contained in:
parent
8543c06db4
commit
2b28e26392
@ -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…
x
Reference in New Issue
Block a user