Add ChatType

This commit is contained in:
Snowiiii committed 2024-08-12 15:46:24 +02:00
1 parent 65c2207c0a
commit 5cf19a4e98
16 files changed
+158 -151

No files matched your search

+2 -2
View File
@@ -233,7 +233,7 @@ impl Server {
// TODO: add velo
CSpawnEntity::new(
entity_id.into(),
gameprofile.id,
UUID(gameprofile.id),
EntityType::Player.to_i32().unwrap().into(),
x,
y,
@@ -256,7 +256,7 @@ impl Server {
let gameprofile = existing_client.gameprofile.as_ref().unwrap();
client.send_packet(CSpawnEntity::new(
player.entity_id().into(),
gameprofile.id,
UUID(gameprofile.id),
EntityType::Player.to_i32().unwrap().into(),
entity.x,
entity.y,