Oops, fix min speed patch

This commit is contained in:
md_5 2013-08-07 07:19:06 +10:00
parent 8b99287132
commit cdd3c2f4e5
1 changed files with 1 additions and 15 deletions

View File

@ -1,23 +1,9 @@
From 76bb8c8d312da90cbafdd5d05c59a252b0336a01 Mon Sep 17 00:00:00 2001 From e7d9f54f6b102a78e0b81c9c4922b5c82672e519 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au> From: md_5 <md_5@live.com.au>
Date: Mon, 5 Aug 2013 20:17:20 +1000 Date: Mon, 5 Aug 2013 20:17:20 +1000
Subject: [PATCH] Cap Minimum Player Speed Subject: [PATCH] Cap Minimum Player Speed
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
index 65a77dc..22ae561 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java
@@ -178,9 +178,6 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
}
public void setVelocity(Vector vel) {
- entity.motX = vel.getX();
- entity.motY = vel.getY();
- entity.motZ = vel.getZ();
entity.velocityChanged = true;
}
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
index 654c3c9..6ee31d9 100644 index 654c3c9..6ee31d9 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java