minor improvements to teleportation
This commit is contained in:
parent
333cea3f47
commit
14e3518b13
|
@ -132,7 +132,7 @@ public class Build extends Game
|
||||||
protected long _voteTime = 14000;
|
protected long _voteTime = 14000;
|
||||||
protected long _viewTime = 18000;
|
protected long _viewTime = 18000;
|
||||||
private BuildData _viewData = null;
|
private BuildData _viewData = null;
|
||||||
private static final double TELEPORT_BORDER_DISTANCE = 1.0;
|
private static final double TELEPORT_BORDER_DISTANCE = 2.0;
|
||||||
|
|
||||||
private int _countdownTimerState = 0;
|
private int _countdownTimerState = 0;
|
||||||
|
|
||||||
|
@ -783,6 +783,9 @@ public class Build extends Game
|
||||||
|
|
||||||
Location position = expandedBottomLeft.clone();
|
Location position = expandedBottomLeft.clone();
|
||||||
|
|
||||||
|
// Make players float a few blocks above the air
|
||||||
|
position.add(0.0, 2.0, 0.0);
|
||||||
|
|
||||||
// Look directly forward
|
// Look directly forward
|
||||||
position.setPitch(0.0F);
|
position.setPitch(0.0F);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue