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
@ -609,6 +609,10 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
return $this->sleeping !== null;
|
||||
}
|
||||
|
||||
public function getInAirTicks(){
|
||||
return $this->inAirTicks;
|
||||
}
|
||||
|
||||
protected function switchLevel(Level $targetLevel){
|
||||
$oldLevel = $this->level;
|
||||
if(parent::switchLevel($targetLevel)){
|
||||
|
Loading…
x
Reference in New Issue
Block a user