mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 04:00:29 +00:00
World: make loadChunk() more useful, drop useless proxy function getOrLoadChunk()
This commit is contained in:
@@ -1358,7 +1358,7 @@ abstract class Entity{
|
||||
if($this->chunk !== null){
|
||||
$this->chunk->removeEntity($this);
|
||||
}
|
||||
$this->chunk = $this->getWorld()->getOrLoadChunk($chunkX, $chunkZ, true);
|
||||
$this->chunk = $this->getWorld()->loadChunk($chunkX, $chunkZ, true);
|
||||
$this->chunkX = $chunkX;
|
||||
$this->chunkZ = $chunkZ;
|
||||
|
||||
|
Reference in New Issue
Block a user