Fix stickey pistons not retracting properly.
This commit is contained in:
parent
6ff24351d3
commit
4caf09cd33
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- if (!flag1 && block.func_149688_o() != Material.field_151579_a && func_180696_a(block, p_180648_1_, blockpos1, enumfacing.func_176734_d(), false) && (block.func_149656_h() == 0 || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
- if (!flag1 && block.func_149688_o() != Material.field_151579_a && func_180696_a(block, p_180648_1_, blockpos1, enumfacing.func_176734_d(), false) && (block.func_149656_h() == 0 || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
||||||
+ if (!flag1 && block.isAir(p_180648_1_, blockpos1) && func_180696_a(block, p_180648_1_, blockpos1, enumfacing.func_176734_d(), false) && (block.func_149656_h() == 0 || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
+ if (!flag1 && !block.isAir(p_180648_1_, blockpos1) && func_180696_a(block, p_180648_1_, blockpos1, enumfacing.func_176734_d(), false) && (block.func_149656_h() == 0 || block == Blocks.field_150331_J || block == Blocks.field_150320_F))
|
||||||
{
|
{
|
||||||
this.func_176319_a(p_180648_1_, p_180648_2_, enumfacing, false);
|
this.func_176319_a(p_180648_1_, p_180648_2_, enumfacing, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue