Skip to content

Commit af2ab76

Browse files
committed
chore: clean code
1 parent 72651b3 commit af2ab76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/api/EntityAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ Local<Value> EntityClass::getBlockFromViewVector(const Arguments& args) {
14071407
|| (legacy.mProperties == BlockProperty::None && legacy.mMaterial.mType == MaterialType::Any)) {
14081408
return Local<Value>();
14091409
}
1410-
return BlockClass::newBlock(bl, bp, actor->getDimension().mId);
1410+
return BlockClass::newBlock(bl, bp, actor->getDimensionId());
14111411
}
14121412
CATCH("Fail in getBlockFromViewVector!");
14131413
}

0 commit comments

Comments
 (0)