geforkt von Mirrors/FastAsyncWorldEdit
Fixed WorldEditPlayer.findFreePosition() (/unstuck) moving players up when the player was not stuck.
Dieser Commit ist enthalten in:
Ursprung
2068f40cd8
Commit
4a169216d8
@ -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++;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren