11 lines
993 B
Diff
11 lines
993 B
Diff
--- ../src-base/minecraft/net/minecraft/item/ItemDoor.java
|
|
+++ ../src-work/minecraft/net/minecraft/item/ItemDoor.java
|
|
@@ -48,7 +48,7 @@
|
|
int j = enumfacing.func_82599_e();
|
|
boolean flag = i < 0 && p_180614_8_ < 0.5F || i > 0 && p_180614_8_ > 0.5F || j < 0 && p_180614_6_ > 0.5F || j > 0 && p_180614_6_ < 0.5F;
|
|
func_179235_a(p_180614_2_, p_180614_3_, enumfacing, this.field_179236_a, flag);
|
|
- SoundType soundtype = this.field_179236_a.func_185467_w();
|
|
+ SoundType soundtype = p_180614_2_.func_180495_p(p_180614_3_).func_177230_c().getSoundType(p_180614_2_.func_180495_p(p_180614_3_), p_180614_2_, p_180614_3_, p_180614_1_);
|
|
p_180614_2_.func_184133_a(p_180614_1_, p_180614_3_, soundtype.func_185841_e(), SoundCategory.BLOCKS, (soundtype.func_185843_a() + 1.0F) / 2.0F, soundtype.func_185847_b() * 0.8F);
|
|
itemstack.func_190918_g(1);
|
|
return EnumActionResult.SUCCESS;
|