From 44667f34ce5546cd040f432238edd3981b2e4365 Mon Sep 17 00:00:00 2001 From: illegitimate-egg Date: Fri, 7 Mar 2025 23:55:13 +0000 Subject: [PATCH] This shit lowkey pmo --- src/network.rs | 2 +- src/world.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network.rs b/src/network.rs index 82ae7d5..57f8cf2 100644 --- a/src/network.rs +++ b/src/network.rs @@ -68,7 +68,7 @@ pub fn handle_client( } 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(); use std::fmt::Write; diff --git a/src/world.rs b/src/world.rs index d8bc936..6550c1a 100644 --- a/src/world.rs +++ b/src/world.rs @@ -23,8 +23,8 @@ impl World { for _x in 0..size_x { match y { 0..15 => world_dat.push(0x03), // Dirt - 15 => world_dat.push(0x02), // Grass - _ => world_dat.push(0x00), // Air + 15 => world_dat.push(0x02), // Grass + _ => world_dat.push(0x00), // Air } } }