Fixed WorldEditPlayer.findFreePosition() (/unstuck) moving players up when the player was not stuck.

This commit is contained in:
sk89q 2010-11-16 22:17:50 -08:00
parent 2068f40cd8
commit 4a169216d8

View File

@ -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++;