From 9b9bc4cac7dea3f6af61a19aa005d07b335f1955 Mon Sep 17 00:00:00 2001 From: Azazelthedemonlord Date: Tue, 12 May 2020 22:20:32 -0500 Subject: [PATCH] Small changes to how dim detection works --- build.properties | 6 +++--- src/main/java/vazkii/ambience/SongPicker.java | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build.properties b/build.properties index 902f75c..4f43328 100644 --- a/build.properties +++ b/build.properties @@ -1,11 +1,11 @@ # -#Tue May 12 20:09:07 CDT 2020 +#Tue May 12 22:12:47 CDT 2020 mod_name=Azzy's Ambience forge_version=14.21.0.2331 dir_repo=./ dir_forgecraft=D\:/Seafile/incoming/ForgeCraft2/mods mc_mappings=snapshot_20161220 -version=1.0 +version=1.1 dir_output=../Build Output/Ambience/ mc_version=1.12 -build_number=158 +build_number=160 diff --git a/src/main/java/vazkii/ambience/SongPicker.java b/src/main/java/vazkii/ambience/SongPicker.java index 5c3c935..264497f 100644 --- a/src/main/java/vazkii/ambience/SongPicker.java +++ b/src/main/java/vazkii/ambience/SongPicker.java @@ -199,7 +199,8 @@ public static String[] getSongs() { while(!dimensions.isEmpty()){ int dim = dimensions.remove(); - return dimensionMap.get(dim); + if(dim == indimension) + return dimensionMap.get(dim); } Entity riding = player.getRidingEntity();