mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Fix BlockDynamicLiquid using mismatched state/position pair (#4501)
This commit is contained in:
1 parent
6192bf48ae
commit
8eb6ec9cdd
1 file changed
+9
@@ -17,6 +17,15 @@
|
||||
p_176375_3_.func_177230_c().func_176226_b(p_176375_1_, p_176375_2_, p_176375_3_, 0);
|
||||
}
|
||||
}
|
||||
@@ -187,7 +188,7 @@
|
||||
|
||||
if (!this.func_176372_g(p_176374_1_, blockpos, iblockstate) && (iblockstate.func_185904_a() != this.field_149764_J || ((Integer)iblockstate.func_177229_b(field_176367_b)).intValue() > 0))
|
||||
{
|
||||
- if (!this.func_176372_g(p_176374_1_, blockpos.func_177977_b(), iblockstate))
|
||||
+ if (!this.func_176372_g(p_176374_1_, blockpos.func_177977_b(), p_176374_1_.func_180495_p(blockpos.func_177977_b())))
|
||||
{
|
||||
return p_176374_3_;
|
||||
}
|
||||
@@ -254,11 +255,12 @@
|
||||
|
||||
private boolean func_176372_g(World p_176372_1_, BlockPos p_176372_2_, IBlockState p_176372_3_)
|
||||
|
||||
Reference in new issue
Block a user