block light

This commit is contained in:
GameHerobrine 2025-06-23 01:24:00 +03:00
parent fd5b103df7
commit d1a724c143
66 changed files with 266 additions and 1 deletions

View file

@ -1737,6 +1737,7 @@ class Player{
}
public function entityTick(){
if($this->isSleeping) ++$this->sleepingTime;
if($this->server->difficulty == 0 && $this->entity->counter % (20 * 15) == 0){
if($this->entity->health < 20 && $this->entity->health > 0){