diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-12 23:10:13 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-12 23:10:13 +0100 |
commit | 7219d4dd858b405f34ea66c67f8ab7d4c07fb4ee (patch) | |
tree | a1ca024b03aadf4b687f442b33bf713aecd511f7 /src/main/java/net/minecraft/server/EntityMinecart.java | |
parent | dd5ef8725c699e0b2946dc0f6d523ca482404043 (diff) | |
download | craftbukkit-7219d4dd858b405f34ea66c67f8ab7d4c07fb4ee.tar craftbukkit-7219d4dd858b405f34ea66c67f8ab7d4c07fb4ee.tar.gz craftbukkit-7219d4dd858b405f34ea66c67f8ab7d4c07fb4ee.tar.lz craftbukkit-7219d4dd858b405f34ea66c67f8ab7d4c07fb4ee.tar.xz craftbukkit-7219d4dd858b405f34ea66c67f8ab7d4c07fb4ee.zip |
Updated to Minecraft 1.1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityMinecart.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityMinecart.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/EntityMinecart.java b/src/main/java/net/minecraft/server/EntityMinecart.java index 98f7dae8..976eccd2 100644 --- a/src/main/java/net/minecraft/server/EntityMinecart.java +++ b/src/main/java/net/minecraft/server/EntityMinecart.java @@ -51,7 +51,7 @@ public class EntityMinecart extends Entity implements IInventory { this.items = new ItemStack[27]; // CraftBukkit this.e = 0; this.f = false; - this.bc = true; + this.bf = true; this.b(0.98F, 0.7F); this.height = this.length / 2.0F; } @@ -115,7 +115,7 @@ public class EntityMinecart extends Entity implements IInventory { this.d(-this.m()); this.c(10); - this.aB(); + this.aM(); this.setDamage(this.getDamage() + i * 10); if (this.getDamage() > 40) { if (this.passenger != null) { @@ -211,7 +211,7 @@ public class EntityMinecart extends Entity implements IInventory { super.die(); } - public void w_() { + public void y_() { // CraftBukkit start double prevX = this.locX; double prevY = this.locY; @@ -748,8 +748,8 @@ public class EntityMinecart extends Entity implements IInventory { d1 *= d3; d0 *= 0.10000000149011612D; d1 *= 0.10000000149011612D; - d0 *= (double) (1.0F - this.bO); - d1 *= (double) (1.0F - this.bO); + d0 *= (double) (1.0F - this.bR); + d1 *= (double) (1.0F - this.bR); d0 *= 0.5D; d1 *= 0.5D; if (entity instanceof EntityMinecart) { |