Fix sometimes being unable to extract items from double chests (#4590)
This commit is contained in:
parent
83b7010ddf
commit
88b49f4a36
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
||||||
--- ../src-base/minecraft/net/minecraft/block/BlockChest.java
|
--- ../src-base/minecraft/net/minecraft/block/BlockChest.java
|
||||||
+++ ../src-work/minecraft/net/minecraft/block/BlockChest.java
|
+++ ../src-work/minecraft/net/minecraft/block/BlockChest.java
|
||||||
|
@@ -470,7 +470,7 @@
|
||||||
|
|
||||||
|
if (block == this)
|
||||||
|
{
|
||||||
|
- if (this.func_176457_m(p_189418_1_, blockpos))
|
||||||
|
+ if (!p_189418_3_ && this.func_176457_m(p_189418_1_, blockpos)) // Forge: fix MC-99321
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
@@ -538,7 +538,7 @@
|
@@ -538,7 +538,7 @@
|
||||||
|
|
||||||
private boolean func_176456_n(World p_176456_1_, BlockPos p_176456_2_)
|
private boolean func_176456_n(World p_176456_1_, BlockPos p_176456_2_)
|
||||||
|
|
Loading…
Reference in a new issue