From 4a169216d8d557514d8e9bef3817224ea78ec8e8 Mon Sep 17 00:00:00 2001 From: sk89q Date: Tue, 16 Nov 2010 22:17:50 -0800 Subject: [PATCH] Fixed WorldEditPlayer.findFreePosition() (/unstuck) moving players up when the player was not stuck. --- src/WorldEditPlayer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WorldEditPlayer.java b/src/WorldEditPlayer.java index e35c6c6e4..ce6d402b6 100644 --- a/src/WorldEditPlayer.java +++ b/src/WorldEditPlayer.java @@ -85,8 +85,9 @@ public class WorldEditPlayer { if (free == 2) { if (y - 1 != origY) { setPosition(new Vector(x + 0.5, y - 1, z + 0.5)); - return; } + + return; } y++;