mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Changed speed check
This commit is contained in:
@@ -52,7 +52,7 @@ class Entity extends Position{
|
||||
public $fallY;
|
||||
public $fallStart;
|
||||
private $tickCounter;
|
||||
private $speedMeasure = array(0, 0, 0, 0, 0);
|
||||
private $speedMeasure = array(0, 0, 0);
|
||||
private $server;
|
||||
private $isStatic;
|
||||
public $level;
|
||||
@@ -778,7 +778,7 @@ class Entity extends Position{
|
||||
}
|
||||
|
||||
public function resetSpeed(){
|
||||
$this->speedMeasure = array(0, 0, 0, 0, 0);
|
||||
$this->speedMeasure = array(0, 0, 0);
|
||||
}
|
||||
|
||||
public function getSpeed(){
|
||||
|
Reference in New Issue
Block a user