From 3c19a0309e1f2e3f0ce583c767e4b7767ff95923 Mon Sep 17 00:00:00 2001 From: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com> Date: Wed, 25 Jan 2023 22:19:54 +0100 Subject: [PATCH] Fix stepsound for blocks in the inside_step_sound_blocks tag. (#9318) --- patches/minecraft/net/minecraft/world/entity/Entity.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/entity/Entity.java.patch b/patches/minecraft/net/minecraft/world/entity/Entity.java.patch index 43ebf641d7..24a954a257 100644 --- a/patches/minecraft/net/minecraft/world/entity/Entity.java.patch +++ b/patches/minecraft/net/minecraft/world/entity/Entity.java.patch @@ -156,7 +156,7 @@ boolean flag = blockstate.m_204336_(BlockTags.f_144271_); if (flag || !p_20136_.m_60767_().m_76332_()) { - SoundType soundtype = flag ? blockstate.m_60827_() : p_20136_.m_60827_(); -+ SoundType soundtype = blockstate.m_60713_(Blocks.f_50125_) ? blockstate.getSoundType(f_19853_, p_20135_, this) : p_20136_.getSoundType(f_19853_, p_20135_, this); ++ SoundType soundtype = flag ? blockstate.getSoundType(f_19853_, p_20135_, this) : p_20136_.getSoundType(f_19853_, p_20135_, this); this.m_5496_(soundtype.m_56776_(), soundtype.m_56773_() * 0.15F, soundtype.m_56774_()); } }