/dev/null does not accept EnchantmentThorns
This commit is contained in:
parent
7b5a8d0c23
commit
8954cb291c
@ -250,7 +250,11 @@ public class EntityArrow extends Entity implements IProjectile {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EnchantmentThorns.a(this.shooter, entityliving, this.random);
|
// CraftBukkit start
|
||||||
|
if (this.shooter != null) {
|
||||||
|
EnchantmentThorns.a(this.shooter, entityliving, this.random);
|
||||||
|
}
|
||||||
|
// CraftBukkit end
|
||||||
if (this.shooter != null && movingobjectposition.entity != this.shooter && movingobjectposition.entity instanceof EntityHuman && this.shooter instanceof EntityPlayer) {
|
if (this.shooter != null && movingobjectposition.entity != this.shooter && movingobjectposition.entity instanceof EntityHuman && this.shooter instanceof EntityPlayer) {
|
||||||
((EntityPlayer) this.shooter).playerConnection.sendPacket(new Packet70Bed(6, 0));
|
((EntityPlayer) this.shooter).playerConnection.sendPacket(new Packet70Bed(6, 0));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user