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:
Sam 2016-05-31 22:35:52 +01:00
parent 6b70292837
commit 1a9f58451b
1 changed files with 1 additions and 1 deletions

View File

@ -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