Skip to content

Commit 797fd2a

Browse files
committed
Fixed broken favicon
1 parent 9f38e73 commit 797fd2a

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,9 @@ result
1616
result-*
1717

1818
profile.json.gz
19-
.DS_Store
19+
.DS_Store
20+
21+
world/
22+
whitelist.txt
23+
24+
logs/
File renamed without changes.

icon-64.png

-4.45 KB
Binary file not shown.

src/bin/src/packet_handlers/play_packets/set_player_position.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use bevy_ecs::prelude::{Entity, EventWriter, Query, Res};
22
use ferrumc_core::chunks::cross_chunk_boundary_event::CrossChunkBoundaryEvent;
33
use ferrumc_core::identity::player_identity::PlayerIdentity;
44
use ferrumc_net::SetPlayerPositionPacketReceiver;
5-
use tracing::{debug, error, warn};
5+
use tracing::{debug, error, trace, warn};
66

77
use crate::errors::BinaryError;
88
use ferrumc_core::transform::grounded::OnGround;
@@ -72,7 +72,7 @@ pub fn handle(
7272
) {
7373
error!("Failed to update position for player {}: {}", eid, err);
7474
} else {
75-
debug!(
75+
trace!(
7676
"Updated position for player {}: ({}, {}, {})",
7777
eid, new_position.x, new_position.y, new_position.z
7878
);

src/lib/net/src/conn_init/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ fn get_server_status(state: &GlobalState) -> String {
158158

159159
// Protocol info
160160
let version = structs::Version {
161-
name: "1.21.1",
161+
name: "1.21.8",
162162
protocol: crate::conn_init::PROTOCOL_VERSION_1_21_8 as u16,
163163
};
164164

src/lib/utils/config/src/favicon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use lazy_static::lazy_static;
44
use std::fs::File;
55
use std::io::Read;
66

7-
const BAKED_FAVICON: &[u8] = include_bytes!("../../../../../icon-64.png");
7+
const BAKED_FAVICON: &[u8] = include_bytes!("../../../../../assets/data/icon-64.png");
88

99
lazy_static! {
1010
static ref FAVICON_BASE64: String = {

0 commit comments

Comments
 (0)