Skip to content

Commit

Permalink
Merge branch '1.20.2' into 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sollace committed Mar 8, 2024
2 parents 7680326 + 5b64ab2 commit e275ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/eu/ha3/presencefootsteps/util/Range.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static Range exactly(float value) {
}

public Range read(String name, JsonObject json) {
if ("volume".equals(name) && json.has("vol") || json.has("vol_min") || json.has("vol_max")) {
if ("volume".equals(name) && (json.has("vol") || json.has("vol_min") || json.has("vol_max"))) {
return read("vol", json);
}
if (json.has(name)) {
Expand Down

0 comments on commit e275ac0

Please sign in to comment.