This shit lowkey pmo
This commit is contained in:
parent
d8b7273266
commit
44667f34ce
@ -68,7 +68,7 @@ pub fn handle_client(
|
|||||||
}
|
}
|
||||||
|
|
||||||
let mut verif_key = [0; 64];
|
let mut verif_key = [0; 64];
|
||||||
verif_key.copy_from_slice(&payload_buffer[65..(64+65)]);
|
verif_key.copy_from_slice(&payload_buffer[65..(64 + 65)]);
|
||||||
|
|
||||||
let mut verif_key_formatted = String::new();
|
let mut verif_key_formatted = String::new();
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
|
@ -23,8 +23,8 @@ impl World {
|
|||||||
for _x in 0..size_x {
|
for _x in 0..size_x {
|
||||||
match y {
|
match y {
|
||||||
0..15 => world_dat.push(0x03), // Dirt
|
0..15 => world_dat.push(0x03), // Dirt
|
||||||
15 => world_dat.push(0x02), // Grass
|
15 => world_dat.push(0x02), // Grass
|
||||||
_ => world_dat.push(0x00), // Air
|
_ => world_dat.push(0x00), // Air
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user