mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Player: remove dead condition
this can't be reached because the only place it's called is from Level->actuallyDoTick(), where it won't appear until long after the player is logged in.
This commit is contained in:
parent
a1ffaffa7f
commit
41d13b6f06
@ -1604,10 +1604,6 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
|
||||
}
|
||||
|
||||
public function onUpdate(int $currentTick) : bool{
|
||||
if(!$this->loggedIn){
|
||||
return false;
|
||||
}
|
||||
|
||||
$tickDiff = $currentTick - $this->lastUpdate;
|
||||
|
||||
if($tickDiff <= 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user