File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1329,7 +1329,7 @@ Local<Value> EntityClass::getAllTags(const Arguments&) {
1329
1329
Local<Array> arr = Array::newArray ();
1330
1330
auto component = entity->getEntityContext ().tryGetComponent <TagsComponent<IDType<LevelTagSetIDType>>>();
1331
1331
if (component) {
1332
- for (auto & tag : ll::service::getLevel ()->getTagRegistry ().getTagsInSet (component->mTagSetID )) {
1332
+ for (auto & tag : get ()->getLevel (). getTagRegistry ().getTagsInSet (component->mTagSetID )) {
1333
1333
arr.add (String::newString (tag));
1334
1334
}
1335
1335
return arr;
Original file line number Diff line number Diff line change @@ -3115,7 +3115,7 @@ Local<Value> PlayerClass::getAllTags(const Arguments&) {
3115
3115
Local<Array> arr = Array::newArray ();
3116
3116
auto component = player->getEntityContext ().tryGetComponent <TagsComponent<IDType<LevelTagSetIDType>>>();
3117
3117
if (component) {
3118
- for (auto & tag : ll::service::getLevel ()->getTagRegistry ().getTagsInSet (component->mTagSetID )) {
3118
+ for (auto & tag : get ()->getLevel (). getTagRegistry ().getTagsInSet (component->mTagSetID )) {
3119
3119
arr.add (String::newString (tag));
3120
3120
}
3121
3121
return arr;
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ add_rules("mode.debug", "mode.release")
3
3
add_repositories (" levimc-repo https://github.com/LiteLDev/xmake-repo.git" )
4
4
5
5
if is_config (" target_type" , " server" ) then
6
- add_requires (" levilamina 1.1.0 " , {configs = {target_type = " server" }})
6
+ add_requires (" levilamina b2fe54c4794e1d46a80f6ffd02ef67e7ac3ce66c " , {configs = {target_type = " server" }})
7
7
else
8
- add_requires (" levilamina 1.1.0 " , {configs = {target_type = " client" }})
8
+ add_requires (" levilamina b2fe54c4794e1d46a80f6ffd02ef67e7ac3ce66c " , {configs = {target_type = " client" }})
9
9
end
10
10
11
11
add_requires (" levibuildscript" )
You can’t perform that action at this time.
0 commit comments