Skip to content

Commit

Permalink
Added potential fix to players spawning underground.
Browse files Browse the repository at this point in the history
  • Loading branch information
PdeBot committed Mar 2, 2020
1 parent 684b3e8 commit e436af5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,9 @@ public Location findRandomSafeLocation(World world, double maxDistance){
}
}

// Attempt to fix players spawning underground.
location = location.add(0, 2, 0);

return location;
}

Expand Down

0 comments on commit e436af5

Please sign in to comment.