minor improvements to teleportation

This commit is contained in:
Spencer 2017-11-23 21:13:09 -05:00 committed by Alexander Meech
parent 333cea3f47
commit 14e3518b13

View File

@ -132,7 +132,7 @@ public class Build extends Game
protected long _voteTime = 14000;
protected long _viewTime = 18000;
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;
@ -783,6 +783,9 @@ public class Build extends Game
Location position = expandedBottomLeft.clone();
// Make players float a few blocks above the air
position.add(0.0, 2.0, 0.0);
// Look directly forward
position.setPitch(0.0F);