File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ impl EntityBase for ExperienceOrbEntity {
84
84
if * delay == 0 {
85
85
* delay = 2 ;
86
86
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 ) ;
88
88
// TODO: pickingCount for merging
89
89
self . entity . remove ( ) . await ;
90
90
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use crate::block::registry::BlockRegistry;
4
4
use crate :: command:: commands:: default_dispatcher;
5
5
use crate :: command:: commands:: defaultgamemode:: DefaultGamemode ;
6
6
use crate :: data:: player_server_data:: ServerPlayerData ;
7
- use crate :: entity:: { Entity , EntityId } ;
7
+ use crate :: entity:: EntityId ;
8
8
use crate :: item:: registry:: ItemRegistry ;
9
9
use crate :: net:: EncryptionError ;
10
10
use crate :: world:: custom_bossbar:: CustomBossbars ;
You can’t perform that action at this time.
0 commit comments