HAAAAAAAANDS

Former-commit-id: 88927242c21471888a00799110b6bc542e9e18a2
This commit is contained in:
Joshua Barretto 2019-04-27 16:47:56 +01:00
parent 33e93ef25f
commit bdf0e92e45

View File

@ -204,8 +204,8 @@ impl Client {
}
// Request chunks from the server
for i in chunk_pos.x - 2..chunk_pos.x + 3 {
for j in chunk_pos.y - 2..chunk_pos.y + 3 {
for i in chunk_pos.x - 1..chunk_pos.x + 2 {
for j in chunk_pos.y - 1..chunk_pos.y + 2 {
for k in 0..2 {
let key = Vec3::new(i, j, k);
if self.state.terrain().get_key(key).is_none()