mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Remove some more Vector3 mutations
This commit is contained in:
@ -247,7 +247,7 @@ abstract class Projectile extends Entity{
|
||||
}
|
||||
|
||||
$this->isCollided = $this->onGround = true;
|
||||
$this->motion->x = $this->motion->y = $this->motion->z = 0;
|
||||
$this->motion = new Vector3(0, 0, 0);
|
||||
}else{
|
||||
$this->isCollided = $this->onGround = false;
|
||||
$this->blockHit = null;
|
||||
|
Reference in New Issue
Block a user