File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 33#include " mc/world/scores/IdentityDictionary.h"
44
55namespace lse ::api {
6- ScoreboardId ScoreboardHelper::getId (Scoreboard const & scoreboard, const PlayerScoreboardId& playerId) {
7- auto dict = scoreboard.mIdentityDict ->mPlayers ;
6+ ScoreboardId ScoreboardHelper::getId (Scoreboard const & scoreboard, PlayerScoreboardId const & playerId) {
7+ auto & dict = scoreboard.mIdentityDict ->mPlayers ;
88 auto found = dict->find (playerId);
99 if (found != dict->end ()) {
1010 return found->second ;
Original file line number Diff line number Diff line change 33#include " mc/deps/ecs/gamerefs_entity/EntityContext.h"
44#include " mc/entity/components_json_legacy/NavigationComponent.h"
55#include " mc/server/sim/LookAtIntent.h"
6+ #include " mc/server/sim/MoveInDirectionIntent.h"
7+ #include " mc/server/sim/MoveToPositionIntent.h"
68#include " mc/server/sim/MovementIntent.h"
9+ #include " mc/server/sim/NavigateToEntityIntent.h"
10+ #include " mc/server/sim/NavigateToPositionsIntent.h"
11+ #include " mc/server/sim/VoidMoveIntent.h"
712#include " mc/server/sim/sim.h"
813#include " mc/world/actor/ai/navigation/PathNavigation.h"
914#include " mc/world/actor/provider/MobMovement.h"
You can’t perform that action at this time.
0 commit comments