This commit is contained in:
Anuken
2021-06-12 17:22:46 -04:00
parent 4eb0852f9f
commit db054add64
3 changed files with 3 additions and 0 deletions

View File

@@ -337,6 +337,7 @@ public class CustomRulesDialog extends BaseDialog{
t.background(Tex.button);
int i = 0;
for(Weather weather : content.<Weather>getBy(ContentType.weather)){
if(weather.hidden) continue;
t.button(weather.localizedName, Styles.cleart, () -> {
rules.weather.add(new WeatherEntry(weather));