water damage tweaks, using php8 pack functions

This commit is contained in:
GameHerobrine 2024-01-01 08:15:05 +03:00
parent 229a563ff5
commit 68b8232f07
17 changed files with 46 additions and 76 deletions

View file

@ -595,7 +595,7 @@ class PocketMinecraftServer{
unset($this->tickMeasure[key($this->tickMeasure)]);
++$this->ticks;
foreach($this->api->level->levels as $l){
$l->onTick($this);
$l->onTick($this, $time);
}
return $this->tickerFunction($time);
}