We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72651b3 commit af2ab76Copy full SHA for af2ab76
src/legacy/api/EntityAPI.cpp
@@ -1407,7 +1407,7 @@ Local<Value> EntityClass::getBlockFromViewVector(const Arguments& args) {
1407
|| (legacy.mProperties == BlockProperty::None && legacy.mMaterial.mType == MaterialType::Any)) {
1408
return Local<Value>();
1409
}
1410
- return BlockClass::newBlock(bl, bp, actor->getDimension().mId);
+ return BlockClass::newBlock(bl, bp, actor->getDimensionId());
1411
1412
CATCH("Fail in getBlockFromViewVector!");
1413
0 commit comments