mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-24 17:03:51 -07:00
Update for 1.6.5
This commit is contained in:
@@ -76,8 +76,8 @@ public class EntityArrow extends Entity {
|
||||
this.j = 0;
|
||||
}
|
||||
|
||||
public void p_() {
|
||||
super.p_();
|
||||
public void o_() {
|
||||
super.o_();
|
||||
if (this.lastPitch == 0.0F && this.lastYaw == 0.0F) {
|
||||
float f = MathHelper.a(this.motX * this.motX + this.motZ * this.motZ);
|
||||
|
||||
@@ -89,7 +89,7 @@ public class EntityArrow extends Entity {
|
||||
|
||||
if (i > 0) {
|
||||
Block.byId[i].a(this.world, this.d, this.e, this.f);
|
||||
if (Block.byId[i].d(this.world, this.d, this.e, this.f).a(Vec3D.create(this.locX, this.locY, this.locZ))) {
|
||||
if (Block.byId[i].d(this.world, this.d, this.e, this.f) != null && Block.byId[i].d(this.world, this.d, this.e, this.f).a(Vec3D.create(this.locX, this.locY, this.locZ))) {
|
||||
this.i = true;
|
||||
}
|
||||
}
|
||||
@@ -136,7 +136,7 @@ public class EntityArrow extends Entity {
|
||||
for (int k = 0; k < list.size(); ++k) {
|
||||
Entity entity1 = (Entity) list.get(k);
|
||||
|
||||
if (entity1.o_() && (entity1 != this.shooter || this.k >= 5)) {
|
||||
if (entity1.n_() && (entity1 != this.shooter || this.k >= 5)) {
|
||||
f1 = 0.3F;
|
||||
AxisAlignedBB axisalignedbb = entity1.boundingBox.b((double) f1, (double) f1, (double) f1);
|
||||
MovingObjectPosition movingobjectposition1 = axisalignedbb.a(vec3d, vec3d1);
|
||||
@@ -244,7 +244,7 @@ public class EntityArrow extends Entity {
|
||||
float f3 = 0.99F;
|
||||
|
||||
f1 = 0.03F;
|
||||
if (this.aa()) {
|
||||
if (this.ac()) {
|
||||
for (int l = 0; l < 4; ++l) {
|
||||
float f4 = 0.25F;
|
||||
|
||||
|
Reference in New Issue
Block a user