mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-19 03:49:12 +00:00
Disable play sound when crafting with gt tools (#659)
This commit is contained in:
1 parent
3a0722adc2
commit
ca79cdd3c9
4 files changed
+28
No files matched your search
@@ -32,6 +32,8 @@ public class AutoCraftingManager {
|
||||
boolean processed = false;
|
||||
boolean changed = false;
|
||||
|
||||
StackInfo.playItemDamageSound(false);
|
||||
|
||||
do {
|
||||
changed = false;
|
||||
|
||||
@@ -68,6 +70,8 @@ public class AutoCraftingManager {
|
||||
|
||||
} while (changed && !interrupted(guiContainer));
|
||||
|
||||
StackInfo.playItemDamageSound(true);
|
||||
|
||||
if (processed && !changed && !interrupted(guiContainer)) {
|
||||
NEIClientUtils.playClickSound();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user