Fix issue #46.

This commit is contained in:
Major-
2014-09-17 00:47:46 +01:00
parent afe660b57f
commit c37401c6bc
+2 -2
View File
@@ -475,7 +475,7 @@ public abstract class Mob extends Entity {
* @param position The position. * @param position The position.
*/ */
public void teleport(Position position) { public void teleport(Position position) {
this.position = position; setPosition(position);
teleporting = true; teleporting = true;
walkingQueue.clear(); walkingQueue.clear();
stopAction(); stopAction();
@@ -497,4 +497,4 @@ public abstract class Mob extends Entity {
World.getWorld().schedule(new SkillNormalizationTask(this)); World.getWorld().schedule(new SkillNormalizationTask(this));
} }
} }