From 3fd2144d17664808fa1a3eedcf48814ed0353bed Mon Sep 17 00:00:00 2001 From: GrzechuGrek Date: Mon, 20 Nov 2017 14:47:12 +0100 Subject: [PATCH] Update SongPicker.java This should fix the bug with the rain I mentioned in # 50. --- src/main/java/vazkii/ambience/SongPicker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/vazkii/ambience/SongPicker.java b/src/main/java/vazkii/ambience/SongPicker.java index 2eeb24f..94d4645 100644 --- a/src/main/java/vazkii/ambience/SongPicker.java +++ b/src/main/java/vazkii/ambience/SongPicker.java @@ -218,7 +218,9 @@ public static String[] getSongs() { if(songs != null) return songs; } - } else if(world.isRaining()) { + } + // here "else" is unnecessary. + if(world.isRaining()) { String[] songs = getSongsForEvent(EVENT_RAIN); if(songs != null) return songs;