From ae2257ea5f41c3bad59c6de9cfddf2a12da8e74a Mon Sep 17 00:00:00 2001 From: bl4ckscor3 Date: Wed, 22 Dec 2021 21:53:36 +0100 Subject: [PATCH] fix frame sound --- Changelog.md | 1 + src/main/java/net/geforcemods/securitycraft/SCContent.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index db09b264e1..3ec9200236 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,7 @@ - Fix: Crash when opening the Password-protected Furnace - Fix: Log error when changing "solidifyField" option in an Inventory Scanner that's not linked to another one - Fix: Sound for converting chests/furnaces to their password-protected variants does not play +- Fix: Frame has stone sounds instead of metal sounds --------------------------Changelog for v1.9.0.1 of SecurityCraft-------------------------- diff --git a/src/main/java/net/geforcemods/securitycraft/SCContent.java b/src/main/java/net/geforcemods/securitycraft/SCContent.java index cee36962c4..27729de3f6 100644 --- a/src/main/java/net/geforcemods/securitycraft/SCContent.java +++ b/src/main/java/net/geforcemods/securitycraft/SCContent.java @@ -241,7 +241,7 @@ public class SCContent { @HasManualPage @OwnableBE @RegisterItemBlock - public static final RegistryObject FRAME = BLOCKS.register("keypad_frame", () -> new FrameBlock(prop())); + public static final RegistryObject FRAME = BLOCKS.register("keypad_frame", () -> new FrameBlock(prop().sound(SoundType.METAL))); @HasManualPage @RegisterItemBlock(SCItemGroup.EXPLOSIVES) public static final RegistryObject IMS = BLOCKS.register("ims", () -> new IMSBlock(prop(Material.METAL, 0.7F).sound(SoundType.METAL)));