mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 23:29:54 +00:00
Merge pull request #3915 from legoboy0215/patch-3
This commit is contained in:
commit
3a184ddf97
@ -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