mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Added "getter" for in air ticks.
This commit is contained in:
parent
e5937926cd
commit
d5d2f46db2
@ -608,6 +608,10 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
|||||||
public function isSleeping(){
|
public function isSleeping(){
|
||||||
return $this->sleeping !== null;
|
return $this->sleeping !== null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getInAirTicks(){
|
||||||
|
return $this->inAirTicks;
|
||||||
|
}
|
||||||
|
|
||||||
protected function switchLevel(Level $targetLevel){
|
protected function switchLevel(Level $targetLevel){
|
||||||
$oldLevel = $this->level;
|
$oldLevel = $this->level;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user