PC-383
Fixes the issue where players would not be able to move when joining a game in Mine-Strike as the GetSpectatorLocation() method would be outside the map borders.
This commit is contained in:
parent
6b70292837
commit
1a9f58451b
@ -3179,7 +3179,7 @@ public class MineStrike extends TeamGame
|
|||||||
vec.multiply(1d / count);
|
vec.multiply(1d / count);
|
||||||
|
|
||||||
SpectatorSpawn.setX(vec.getX());
|
SpectatorSpawn.setX(vec.getX());
|
||||||
SpectatorSpawn.setY(vec.getY() + 50); //ADD 50
|
SpectatorSpawn.setY(vec.getY() + 7); //ADD 7
|
||||||
SpectatorSpawn.setZ(vec.getZ());
|
SpectatorSpawn.setZ(vec.getZ());
|
||||||
|
|
||||||
// Move Up - Out Of Blocks
|
// Move Up - Out Of Blocks
|
||||||
|
Loading…
Reference in New Issue
Block a user