Skip to content

Commit f7f50fc

Browse files
committedMar 6, 2025
fix(player-data): ci not building
1 parent ddc9b42 commit f7f50fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎pumpkin/src/entity/experience_orb.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl EntityBase for ExperienceOrbEntity {
8484
if *delay == 0 {
8585
*delay = 2;
8686
player.living_entity.pickup(&self.entity, 1).await;
87-
player.add_experience_points(self.amount as i32).await;
87+
player.add_experience_points(self.amount as i32);
8888
// TODO: pickingCount for merging
8989
self.entity.remove().await;
9090
}

‎pumpkin/src/server/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::block::registry::BlockRegistry;
44
use crate::command::commands::default_dispatcher;
55
use crate::command::commands::defaultgamemode::DefaultGamemode;
66
use crate::data::player_server_data::ServerPlayerData;
7-
use crate::entity::{Entity, EntityId};
7+
use crate::entity::EntityId;
88
use crate::item::registry::ItemRegistry;
99
use crate::net::EncryptionError;
1010
use crate::world::custom_bossbar::CustomBossbars;

0 commit comments

Comments
 (0)