diff options
author | EvilSeph <evilseph@unaligned.org> | 2011-06-07 04:25:19 -0400 |
---|---|---|
committer | EvilSeph <evilseph@unaligned.org> | 2011-06-07 04:25:19 -0400 |
commit | 17c361a5e472b2ae80ed93080106e31b22f8e22a (patch) | |
tree | aaea59c8d446dfb0d6dfbb8969de3df441e834da /src/main/java/net/minecraft | |
parent | d33c06ead26d635d781753c936c408c3d420842f (diff) | |
download | craftbukkit-17c361a5e472b2ae80ed93080106e31b22f8e22a.tar craftbukkit-17c361a5e472b2ae80ed93080106e31b22f8e22a.tar.gz craftbukkit-17c361a5e472b2ae80ed93080106e31b22f8e22a.tar.lz craftbukkit-17c361a5e472b2ae80ed93080106e31b22f8e22a.tar.xz craftbukkit-17c361a5e472b2ae80ed93080106e31b22f8e22a.zip |
Exempt Vehicles from Entity.java's sanity check
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/Entity.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java index 8e936c60..7339d9c8 100644 --- a/src/main/java/net/minecraft/server/Entity.java +++ b/src/main/java/net/minecraft/server/Entity.java @@ -916,17 +916,6 @@ public abstract class Entity { this.motX = ((NBTTagDouble) nbttaglist1.a(0)).a; this.motY = ((NBTTagDouble) nbttaglist1.a(1)).a; this.motZ = ((NBTTagDouble) nbttaglist1.a(2)).a; - if (Math.abs(this.motX) > 10.0D) { - this.motX = 0.0D; - } - - if (Math.abs(this.motY) > 10.0D) { - this.motY = 0.0D; - } - - if (Math.abs(this.motZ) > 10.0D) { - this.motZ = 0.0D; - } this.lastX = this.bo = this.locX = ((NBTTagDouble) nbttaglist.a(0)).a; this.lastY = this.bp = this.locY = ((NBTTagDouble) nbttaglist.a(1)).a; |