aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java
index 4b4d655b..e2aa8cf2 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java
@@ -44,7 +44,7 @@ public class MutingComposter {
}
protected boolean isEnabled() {
- return SBInfo.getInstance().getLocation().equals("garden")
+ return "garden".equals(SBInfo.getInstance().getLocation())
&& NotEnoughUpdates.INSTANCE.config.garden.muteComposterSounds;
}