Update CraftBukkit to 1.6.2

This commit is contained in:
mbax committed 2013-07-08 19:43:37 -04:00
1 parent 2d9a9d8cea
commit f6a0b1e426
87 files changed
+1162 -1112

No files matched your search

@@ -88,7 +88,7 @@ public class EntityBoat extends Entity {
this.world.getServer().getPluginManager().callEvent(new org.bukkit.event.vehicle.VehicleCreateEvent((Vehicle) this.getBukkitEntity())); // CraftBukkit
}
public double W() {
public double X() {
return (double) this.length * 0.0D - 0.30000001192092896D;
}
@@ -412,12 +412,12 @@ public class EntityBoat extends Entity {
}
}
public void U() {
public void V() {
if (this.passenger != null) {
double d0 = Math.cos((double) this.yaw * 3.141592653589793D / 180.0D) * 0.4D;
double d1 = Math.sin((double) this.yaw * 3.141592653589793D / 180.0D) * 0.4D;
this.passenger.setPosition(this.locX + d0, this.locY + this.W() + this.passenger.V(), this.locZ + d1);
this.passenger.setPosition(this.locX + d0, this.locY + this.X() + this.passenger.W(), this.locZ + d1);
}
}