diff options
author | Wesley Wolfe <weswolf@aol.com> | 2013-08-01 12:12:40 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2013-08-01 12:12:40 -0500 |
commit | c8b09db844c3b6150a9e643ccf2a11f6b21b7073 (patch) | |
tree | 6bd243c16bad38bc3f8011a0b70ee388ee47519e /src/main/java | |
parent | 69d33623353587bea885de676e33d1a0983ce7b4 (diff) | |
download | craftbukkit-c8b09db844c3b6150a9e643ccf2a11f6b21b7073.tar craftbukkit-c8b09db844c3b6150a9e643ccf2a11f6b21b7073.tar.gz craftbukkit-c8b09db844c3b6150a9e643ccf2a11f6b21b7073.tar.lz craftbukkit-c8b09db844c3b6150a9e643ccf2a11f6b21b7073.tar.xz craftbukkit-c8b09db844c3b6150a9e643ccf2a11f6b21b7073.zip |
Restore diff missed in 4176258a836062b22ac46919aefa5cc36fae78f2
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityTrackerEntry.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/EntityTrackerEntry.java b/src/main/java/net/minecraft/server/EntityTrackerEntry.java index 2a9dd2ce..43fcba0d 100644 --- a/src/main/java/net/minecraft/server/EntityTrackerEntry.java +++ b/src/main/java/net/minecraft/server/EntityTrackerEntry.java @@ -343,6 +343,10 @@ public class EntityTrackerEntry { entityplayer.playerConnection.sendPacket(new Packet28EntityVelocity(this.tracker.id, this.tracker.motX, this.tracker.motY, this.tracker.motZ)); } + if (this.tracker.vehicle != null) { + entityplayer.playerConnection.sendPacket(new Packet39AttachEntity(0, this.tracker, this.tracker.vehicle)); + } + if (this.tracker instanceof EntityInsentient && ((EntityInsentient) this.tracker).bI() != null) { entityplayer.playerConnection.sendPacket(new Packet39AttachEntity(1, this.tracker, ((EntityInsentient) this.tracker).bI())); } |