Fixed being kicked from the server while swimming.
This commit is contained in:
parent
7ed7da159e
commit
f0d96b7c50
2 changed files with 1 additions and 10 deletions
|
@ -65,15 +65,6 @@
|
|||
{
|
||||
this.func_147364_a(this.field_147373_o, this.field_147382_p, this.field_147381_q, f1, f2);
|
||||
return;
|
||||
@@ -381,7 +396,7 @@
|
||||
|
||||
AxisAlignedBB axisalignedbb = this.field_147369_b.func_174813_aQ().func_72314_b((double)f3, (double)f3, (double)f3).func_72321_a(0.0D, -0.55D, 0.0D);
|
||||
|
||||
- if (!this.field_147367_d.func_71231_X() && !this.field_147369_b.field_71075_bZ.field_75101_c && !worldserver.func_72829_c(axisalignedbb))
|
||||
+ if (!this.field_147367_d.func_71231_X() && !this.field_147369_b.field_71075_bZ.field_75101_c && !worldserver.func_72829_c(axisalignedbb) && !this.field_147369_b.field_71075_bZ.field_75101_c)
|
||||
{
|
||||
if (d18 >= -0.03125D)
|
||||
{
|
||||
@@ -400,6 +415,8 @@
|
||||
this.field_147365_f = 0;
|
||||
}
|
||||
|
|
|
@ -422,7 +422,7 @@
|
|||
Block block = this.func_180495_p(new BlockPos(k1, l1, i2)).func_177230_c();
|
||||
|
||||
- if (block.func_149688_o() != Material.field_151579_a)
|
||||
+ if (block.isAir(this, new BlockPos(k1, l1, i2)))
|
||||
+ if (!block.isAir(this, new BlockPos(k1, l1, i2)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue