mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
block light
This commit is contained in:
parent
fd5b103df7
commit
d1a724c143
66 changed files with 266 additions and 1 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue