3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

/dev/null does not accept EnchantmentThorns

Dieser Commit ist enthalten in:
Wesley Wolfe 2012-12-29 19:05:32 -06:00 committet von feildmaster
Ursprung 7b5a8d0c23
Commit 8954cb291c

Datei anzeigen

@ -250,7 +250,11 @@ public class EntityArrow extends Entity implements IProjectile {
}
}
// 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) {
((EntityPlayer) this.shooter).playerConnection.sendPacket(new Packet70Bed(6, 0));
}