mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +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(){
|
||||
return $this->sleeping !== null;
|
||||
}
|
||||
|
||||
public function getInAirTicks(){
|
||||
return $this->inAirTicks;
|
||||
}
|
||||
|
||||
protected function switchLevel(Level $targetLevel){
|
||||
$oldLevel = $this->level;
|
||||
|
Loading…
x
Reference in New Issue
Block a user