Skip to content

Commit f1a8cdd

Browse files
committed
.
1 parent 41ab3f1 commit f1a8cdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/world/World.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ public function setWeather(WeatherType $type, int $duration = 6000) : void{
624624
$this->broadcastWeatherPackets();
625625
}
626626

627-
public function tickWeather() : void{
627+
private function tickWeather() : void{
628628
$this->rainLevel = max(0.0, min(1.0, $this->rainLevel + (mt_rand(-2, 2) / 100)));
629629
$this->thunderLevel = max(0.0, min(1.0, $this->thunderLevel + (mt_rand(-1, 1) / 100)));
630630
$this->weatherTick++;

0 commit comments

Comments
 (0)