Merge pull request #3915 from legoboy0215/patch-3

This commit is contained in:
PEMapModder 2016-02-18 00:03:53 +08:00
commit 3a184ddf97

View File

@ -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;