mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-16 18:54:45 +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
@@ -84,6 +84,12 @@ public class StackInfo {
|
||||
return result;
|
||||
}
|
||||
|
||||
public static void playItemDamageSound(boolean enabled) {
|
||||
for (IStackStringifyHandler handler : stackStringifyHandlers) {
|
||||
handler.playItemDamageSound(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
public static ItemStack withAmount(ItemStack stack, long customCount) {
|
||||
if (stack == null) return null;
|
||||
final NBTTagCompound nbTag = StackInfo.itemStackToNBT(stack);
|
||||
|
||||
Reference in new issue
Block a user