mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Changed speed check
This commit is contained in:
parent
cbe0692696
commit
fef0b27f7c
4 changed files with 9 additions and 5 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue