mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Fixed collision blocks not being recalculated after teleporting, close #1531
This commit is contained in:
@ -1709,6 +1709,8 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
|
||||
$radius = $this->width / 2;
|
||||
$this->boundingBox->setBounds($pos->x - $radius, $pos->y, $pos->z - $radius, $pos->x + $radius, $pos->y + $this->height, $pos->z + $radius);
|
||||
|
||||
$this->blocksAround = null;
|
||||
|
||||
$this->checkChunks();
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user