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

Dieser Commit ist enthalten in:
sk89q 2010-11-16 22:17:50 -08:00
Ursprung 2068f40cd8
Commit 4a169216d8

Datei anzeigen

@ -85,8 +85,9 @@ public class WorldEditPlayer {
if (free == 2) { if (free == 2) {
if (y - 1 != origY) { if (y - 1 != origY) {
setPosition(new Vector(x + 0.5, y - 1, z + 0.5)); setPosition(new Vector(x + 0.5, y - 1, z + 0.5));
return;
} }
return;
} }
y++; y++;