aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <roman.graef@gmail.com>2023-05-05 18:58:11 +0200
committerGitHub <noreply@github.com>2023-05-05 18:58:11 +0200
commit68a790e6750724785d9f2bc2bcee2f516203bc6b (patch)
treeecf7ce0fb0eac33e1e52e89b72da044705fa7882
parentae9d6aa3227dd9a35d87ebfbe99a949aae8bbfc2 (diff)
downloadNotEnoughUpdates-68a790e6750724785d9f2bc2bcee2f516203bc6b.tar.gz
NotEnoughUpdates-68a790e6750724785d9f2bc2bcee2f516203bc6b.tar.bz2
NotEnoughUpdates-68a790e6750724785d9f2bc2bcee2f516203bc6b.zip
Update MutingComposter.java (#695)
-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 e2aa8cf2..2f1a4133 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/MutingComposter.java
@@ -50,7 +50,7 @@ public class MutingComposter {
@SubscribeEvent
public void onSoundPlay(PlaySoundEvent event) {
- if (mutableSounds.contains(event.name) && isEnabled() && event.sound.getXPosF() == -11.5 && event.sound.getYPosF() == 72.5 && event.sound.getZPosF() == -26.5) {
+ if (mutableSounds.contains(event.name) && isEnabled()) {
event.result = null;
}
}