This commit is contained in:
Anuken
2020-12-05 16:40:54 -05:00
parent cb3b43cc48
commit f6428b8857

View File

@@ -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;