mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix shears not properly breaking tripwire (MC-129055) (#7718)
This commit is contained in:
1 parent
5125775992
commit
1406f2bf1f
1 file changed
+12
@@ -0,0 +1,12 @@
|
||||
--- a/net/minecraft/block/TripWireHookBlock.java
|
||||
+++ b/net/minecraft/block/TripWireHookBlock.java
|
||||
@@ -150,8 +150,8 @@
|
||||
BlockPos blockpos2 = p_176260_2_.func_177967_a(direction, k);
|
||||
BlockState blockstate2 = ablockstate[k];
|
||||
if (blockstate2 != null) {
|
||||
+ if (!p_176260_1_.func_180495_p(blockpos2).func_196958_f()) { // FORGE: fix MC-129055
|
||||
p_176260_1_.func_180501_a(blockpos2, blockstate2.func_206870_a(field_176265_M, Boolean.valueOf(flag2)), 3);
|
||||
- if (!p_176260_1_.func_180495_p(blockpos2).func_196958_f()) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user