diff options
author | feildmaster <admin@feildmaster.com> | 2013-01-17 03:28:44 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-01-17 03:50:24 -0600 |
commit | e59af9908b5c6418664a8676e9ef13d9c8edc90e (patch) | |
tree | e48bc62a3556af51cf375f587100019b79d814cc /src/main/java/net/minecraft/server/EntityArrow.java | |
parent | 315127782a86659d8ac353408ce385e0b8ee9ddb (diff) | |
download | craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar.gz craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar.lz craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.tar.xz craftbukkit-e59af9908b5c6418664a8676e9ef13d9c8edc90e.zip |
Update CraftBukkit to Minecraft 1.4.7
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityArrow.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityArrow.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java index d35ba418..916b9dc9 100644 --- a/src/main/java/net/minecraft/server/EntityArrow.java +++ b/src/main/java/net/minecraft/server/EntityArrow.java @@ -250,11 +250,10 @@ 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)); } |