Fixed #3808
This commit is contained in:
@@ -243,8 +243,10 @@ public class Logic implements ApplicationListener{
|
||||
}
|
||||
|
||||
private void updateWeather(){
|
||||
state.rules.weather.removeAll(w -> w.weather == null);
|
||||
|
||||
for(WeatherEntry entry : state.rules.weather){
|
||||
if(entry.weather == null) continue;
|
||||
//update cooldown
|
||||
entry.cooldown -= Time.delta;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user